mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
zend expects this to be clean memory
This commit is contained in:
parent
38679621bb
commit
c10796e7e9
1 changed files with 1 additions and 1 deletions
|
@ -925,7 +925,7 @@ int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ */
|
|||
&PHPDBG_G(registered), function->string, function->length+1)) {
|
||||
|
||||
zval fname, *fretval;
|
||||
zend_fcall_info *fci = emalloc(sizeof(zend_fcall_info));
|
||||
zend_fcall_info *fci = ecalloc(1, sizeof(zend_fcall_info));
|
||||
|
||||
ZVAL_STRINGL(&fname, function->string, function->length, 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue