You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by is...@apache.org on 2011/05/24 15:52:38 UTC
svn commit: r1127053 - /apr/apr/trunk/hooks/apr_hooks.c
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;
}