Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 435)
+++ /trunk/xcache.c	(revision 438)
@@ -1748,5 +1748,5 @@
 	}
 
-	if (XG(internal_table_copied)) {
+	if (xcache_globals->internal_table_copied) {
 		zend_hash_destroy(&xcache_globals->internal_function_table);
 		zend_hash_destroy(&xcache_globals->internal_class_table);
