apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is...@apache.org
Subject svn commit: r1127053 - /apr/apr/trunk/hooks/apr_hooks.c
Date Tue, 24 May 2011 13:52:38 GMT
Author: issac
Date: Tue May 24 13:52:38 2011
New Revision: 1127053

URL: http://svn.apache.org/viewvc?rev=1127053&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=51256

Modified:
    apr/apr/trunk/hooks/apr_hooks.c

Modified: apr/apr/trunk/hooks/apr_hooks.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/hooks/apr_hooks.c?rev=1127053&r1=1127052&r2=1127053&view=diff
==============================================================================
--- apr/apr/trunk/hooks/apr_hooks.c (original)
+++ apr/apr/trunk/hooks/apr_hooks.c Tue May 24 13:52:38 2011
@@ -208,6 +208,10 @@ static apr_array_header_t *sort_hook(apr
     }
     if(apr_hook_debug_enabled)
         fputc('\n',stdout);
+
+    /* destroy the pool - the sorted hooks were already copied */
+    apr_pool_destroy(p);
+
     return pNew;
 }
 



Mime
View raw message