mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Fix potential double free with phpdbg
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user