Index: tables/apr_hash.c
===================================================================
--- tables/apr_hash.c	(revision 924528)
+++ tables/apr_hash.c	(working copy)
@@ -169,6 +169,9 @@
 
     new_max = ht->max * 2 + 1;
     new_array = alloc_array(ht, new_max);
+    if (!new_array)
+        return;
+
     for (hi = apr_hash_first(NULL, ht); hi; hi = apr_hash_next(hi)) {
         unsigned int i = hi->this->hash & new_max;
         hi->this->next = new_array[i];
