Index: /trunk/utils.c
===================================================================
--- /trunk/utils.c	(revision 934)
+++ /trunk/utils.c	(revision 935)
@@ -42,11 +42,5 @@
 		HashTable *class_table)
 {
-	if (cr) {
-		cr->alloc = 0;
-	}
-	else {
-		cr = emalloc(sizeof(xc_compile_result_t));
-		cr->alloc = 1;
-	}
+	assert(cr);
 	cr->op_array       = op_array;
 	cr->function_table = function_table;
@@ -57,4 +51,5 @@
 xc_compile_result_t *xc_compile_result_init_cur(xc_compile_result_t *cr, zend_op_array *op_array TSRMLS_DC) /* {{{ */
 {
+	assert(cr);
 	return xc_compile_result_init(cr, op_array, CG(function_table), CG(class_table));
 }
@@ -62,7 +57,4 @@
 void xc_compile_result_free(xc_compile_result_t *cr) /* {{{ */
 {
-	if (cr->alloc) {
-		efree(cr);
-	}
 }
 /* }}} */
@@ -743,11 +735,6 @@
 	HashTable *h;
 
-	if (sandbox) {
-		memset(sandbox, 0, sizeof(sandbox[0]));
-	}
-	else {
-		ECALLOC_ONE(sandbox);
-		sandbox->alloc = 1;
-	}
+	assert(sandbox);
+	memset(sandbox, 0, sizeof(sandbox[0]));
 
 	memcpy(&OG(included_files), &EG(included_files), sizeof(EG(included_files)));
@@ -972,8 +959,4 @@
 	CG(compiler_options) = sandbox->orig_compiler_options;
 #endif
-
-	if (sandbox->alloc) {
-		efree(sandbox);
-	}
 }
 /* }}} */
Index: /trunk/utils.h
===================================================================
--- /trunk/utils.h	(revision 934)
+++ /trunk/utils.h	(revision 935)
@@ -45,5 +45,4 @@
 
 typedef struct {
-	int alloc;
 	zend_op_array *op_array;
 	HashTable *function_table;
@@ -83,5 +82,4 @@
 /* sandbox */
 typedef struct {
-	int alloc;
 	ZEND_24(NOTHING, const) char *filename;
 
