You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2012/11/06 11:36:43 UTC
svn commit: r1406088 - /apr/apr/trunk/buckets/apr_buckets_alloc.c
Author: sf
Date: Tue Nov 6 10:36:42 2012
New Revision: 1406088
URL: http://svn.apache.org/viewvc?rev=1406088&view=rev
Log:
Make sure we abort, even if the abortfunc returns
Modified:
apr/apr/trunk/buckets/apr_buckets_alloc.c
Modified: apr/apr/trunk/buckets/apr_buckets_alloc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buckets/apr_buckets_alloc.c?rev=1406088&r1=1406087&r2=1406088&view=diff
==============================================================================
--- apr/apr/trunk/buckets/apr_buckets_alloc.c (original)
+++ apr/apr/trunk/buckets/apr_buckets_alloc.c Tue Nov 6 10:36:42 2012
@@ -62,8 +62,7 @@ APR_DECLARE_NONSTD(apr_bucket_alloc_t *)
apr_abortfunc_t fn = apr_pool_abort_get(p);
if (fn)
(fn)(APR_ENOMEM);
- else
- abort();
+ abort();
}
list->pool = p;
apr_pool_cleanup_register(list->pool, list, alloc_cleanup,