Index: branches/1.0/xcache.c
===================================================================
--- branches/1.0/xcache.c	(revision 160)
+++ branches/1.0/xcache.c	(revision 239)
@@ -757,4 +757,8 @@
 		sandbox.tmp_open_files->dtor = NULL;
 	}
+	else if (!op_array) {
+		/* failed to compile free it, no install */
+		xc_sandbox_free(&sandbox, 0 TSRMLS_CC);
+	}
 	else {
 		xc_sandbox_free(&sandbox, 1 TSRMLS_CC);
