com php-src: fix dealloc mismatch: sapi/phpdbg/phpdbg_webdata _transfer.c

From: Date: Mon, 29 Aug 2016 10:46:23 +0000
Subject: com php-src: fix dealloc mismatch: sapi/phpdbg/phpdbg_webdata _transfer.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94100@lists.php.net to get a copy of this message
Commit: eac7f4b6708ba1ff5bb2e76cc6d275419d50e589 Author: Anatol Belski <ab@php.net> Mon, 29 Aug 2016 02:45:37 +0200 Parents: b66039db333f730be60c6f6e1925eeb01220e4eb Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eac7f4b6708ba1ff5bb2e76cc6d275419d50e589 Log: fix dealloc mismatch Changed paths: M sapi/phpdbg/phpdbg_webdata_transfer.c Diff: diff --git a/sapi/phpdbg/phpdbg_webdata_transfer.c b/sapi/phpdbg/phpdbg_webdata_transfer.c index 1805519..2deb160 100644 --- a/sapi/phpdbg/phpdbg_webdata_transfer.c +++ b/sapi/phpdbg/phpdbg_webdata_transfer.c @@ -23,7 +23,7 @@ static int phpdbg_is_auto_global(char *name, int len) { int ret; zend_string *str = zend_string_init(name, len, 0); ret = zend_is_auto_global(str); - efree(str); + zend_string_free(str); return ret; }

« previous php.cvs (#94100) next »