Index: trunk/processor/hashtable.m4
===================================================================
--- trunk/processor/hashtable.m4	(revision 823)
+++ trunk/processor/hashtable.m4	(revision 824)
@@ -88,8 +88,10 @@
 		IFCOPY(`dst->pInternalPointer = NULL;	/* Used for element traversal */') DONE(pInternalPointer)
 		IFCOPY(`dst->pListHead = NULL;') DONE(pListHead)
+#ifdef ZEND_ENGINE_2_4
+		if (src->nTableMask) {
+#endif
 		CALLOC(dst->arBuckets, Bucket*, src->nTableSize)
 		DONE(arBuckets)
 		DISABLECHECK(`
-
 		for (b = src->pListHead; b != NULL; b = b->pListNext) {
 			ifelse($4, `', `', `
@@ -155,4 +157,10 @@
 		}
 		')
+#ifdef ZEND_ENGINE_2_4
+	}
+	else { /* if (src->nTableMask) */
+		DONE(arBuckets)
+	}
+#endif
 		IFCOPY(`dst->pListTail = pnew;') DONE(pListTail)
 		IFCOPY(`dst->pDestructor = src->pDestructor;') DONE(pDestructor)
