mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix potential double free with phpdbg
This commit is contained in:
parent
d08df44425
commit
0f20e113c2
1 changed files with 1 additions and 0 deletions
|
@ -291,6 +291,7 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) {
|
||||||
fake.opened_path = NULL;
|
fake.opened_path = NULL;
|
||||||
zend_file_handle_dtor(&fake);
|
zend_file_handle_dtor(&fake);
|
||||||
zend_file_handle_dtor(file);
|
zend_file_handle_dtor(file);
|
||||||
|
file->type = -1;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue