diff options
author | issac <issac@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-24 13:52:38 +0000 |
---|---|---|
committer | issac <issac@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-24 13:52:38 +0000 |
commit | d3fe105aad01265bd45c3cb198c30b8e937dd950 (patch) | |
tree | 2e7bf8964880291a7cb3854b4cce4c2cdd2b7c8e /hooks/apr_hooks.c | |
parent | c9753627c9169e252cc56e0375a69531acc414cd (diff) | |
download | libapr-d3fe105aad01265bd45c3cb198c30b8e937dd950.tar.gz |
https://issues.apache.org/bugzilla/show_bug.cgi?id=51256
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1127053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'hooks/apr_hooks.c')
-rw-r--r-- | hooks/apr_hooks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/apr_hooks.c b/hooks/apr_hooks.c index dc3a20dfa..220456204 100644 --- a/hooks/apr_hooks.c +++ b/hooks/apr_hooks.c @@ -208,6 +208,10 @@ static apr_array_header_t *sort_hook(apr_array_header_t *pHooks, } if(apr_hook_debug_enabled) fputc('\n',stdout); + + /* destroy the pool - the sorted hooks were already copied */ + apr_pool_destroy(p); + return pNew; } |