summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_webdata_transfer.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-08-29 02:45:37 +0200
committerAnatol Belski <ab@php.net>2016-08-29 12:46:23 +0200
commiteac7f4b6708ba1ff5bb2e76cc6d275419d50e589 (patch)
treeca8b9e4c0cc296be51915b139780a9fb34f70d8c /sapi/phpdbg/phpdbg_webdata_transfer.c
parentb66039db333f730be60c6f6e1925eeb01220e4eb (diff)
downloadphp-git-eac7f4b6708ba1ff5bb2e76cc6d275419d50e589.tar.gz
fix dealloc mismatch
Diffstat (limited to 'sapi/phpdbg/phpdbg_webdata_transfer.c')
-rw-r--r--sapi/phpdbg/phpdbg_webdata_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_webdata_transfer.c b/sapi/phpdbg/phpdbg_webdata_transfer.c
index 1805519a75..2deb1607c5 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;
}