Fix potential double free with phpdbg

This commit is contained in:
Bob Weinand committed 2016-05-03 13:36:41 +02:00
1 parent d08df44425
commit 0f20e113c2
1 file changed
+1
+1
View File
@@ -291,6 +291,7 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) {
fake.opened_path = NULL;
zend_file_handle_dtor(&fake);
zend_file_handle_dtor(file);
file->type = -1;
return ret;
}