Index: /trunk/processor/processor.m4
===================================================================
--- /trunk/processor/processor.m4	(revision 500)
+++ /trunk/processor/processor.m4	(revision 503)
@@ -775,9 +775,5 @@
 #ifdef HAVE_XCACHE_CONSTANT
 	DISPATCH(zend_uint, constinfo_cnt)
-	IFRESTORE(`
-		COPY(constinfos)
-	', `
-		STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos)
-	')
+	STRUCT_ARRAY(constinfo_cnt, xc_constinfo_t, constinfos)
 #endif
 
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 502)
+++ /trunk/xcache.c	(revision 503)
@@ -1179,4 +1179,7 @@
 	} zend_end_try();
 
+	if (php.constinfos) {
+		efree(php.constinfos);
+	}
 	if (php.funcinfos) {
 		efree(php.funcinfos);
