From: Antony Dovgal Date: Tue, 16 Oct 2007 13:18:55 +0000 (+0000) Subject: use zval_dtor() instead of efree() + FREE_ZVAL() X-Git-Tag: RELEASE_2_0_0a1~1586 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0655ad383363101dde04a9e98f540f6b54014f43;p=php use zval_dtor() instead of efree() + FREE_ZVAL() --- diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index fd8b7f8244..8ac24ec89c 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -205,8 +205,7 @@ void php_clear_mysql(MY_MYSQL *mysql) { mysql->hash_key = NULL; } if (mysql->li_read) { - efree(Z_STRVAL_P(mysql->li_read)); - FREE_ZVAL(mysql->li_read); + zval_dtor(mysql->li_read); mysql->li_read = NULL; } }