summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-10-17 08:17:34 +0000
committerAntony Dovgal <tony2001@php.net>2007-10-17 08:17:34 +0000
commitdc8634add884740b3f0a208b8b21c4dbcfd3d991 (patch)
treef51dd06966ecc223f4700b5f203cef92e0e719a3 /ext/mysqli/mysqli.c
parentcc5096c622123c79bcdc4fcd83195f3287b7265c (diff)
downloadphp-git-dc8634add884740b3f0a208b8b21c4dbcfd3d991.tar.gz
use correct dtor and variable for the callback
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r--ext/mysqli/mysqli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index 8ac24ec89c..b8c1f8e969 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -205,7 +205,7 @@ void php_clear_mysql(MY_MYSQL *mysql) {
mysql->hash_key = NULL;
}
if (mysql->li_read) {
- zval_dtor(mysql->li_read);
+ zval_ptr_dtor(&(mysql->li_read));
mysql->li_read = NULL;
}
}