Index: trunk/xcache.c
===================================================================
--- trunk/xcache.c	(revision 213)
+++ trunk/xcache.c	(revision 216)
@@ -1043,4 +1043,8 @@
 		xc_sandbox_free(&sandbox, 0 TSRMLS_CC);
 	}
+	else if (!op_array) {
+		/* failed to compile free it, no install */
+		xc_sandbox_free(&sandbox, 0 TSRMLS_CC);
+	}
 	else {
 		CG(active_op_array) = op_array;
