apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1406088 - /apr/apr/trunk/buckets/apr_buckets_alloc.c
Date Tue, 06 Nov 2012 10:36:43 GMT
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,



Mime
View raw message