]> granicus.if.org Git - php/commitdiff
fix dealloc mismatch
authorAnatol Belski <ab@php.net>
Mon, 29 Aug 2016 00:45:37 +0000 (02:45 +0200)
committerAnatol Belski <ab@php.net>
Mon, 29 Aug 2016 10:46:23 +0000 (12:46 +0200)
sapi/phpdbg/phpdbg_webdata_transfer.c

index 1805519a75b326e659433e40c56381d001d676ad..2deb1607c56f6c374546e70921ee0564e114e484 100644 (file)
@@ -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;
 }