Man! This file vastly improved. Thanks Dean!
Use the abstraction API_EXPORT_NONSTD for exporting main (aka apache_main). Use clear rather than destroy on ptemp as other 'systolic' pools do. That also fixing a leak of the first ptemp created. Let the destroy of pglobal to all the cleanup. Meanwhile, all exit paths should destroy pglobal so the cleanup/unwind gets run and this routine sets a bad example by having many exits that don't - another day. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83939 13f79535-47bb-0310-9956-ffa450edef68
parent
eb3f53bc
Please register or sign in to comment