summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-07-05 13:55:56 +0300
committerDmitry Stogov <dmitry@zend.com>2018-07-05 13:55:56 +0300
commit273e194df579d4ae9ea848a1b2ee91e9f61fc141 (patch)
tree079303b5ff7147a976eceec8c1f05a4b96b7f43b
parent77c6ca7b620d744538d701d9fca446950fb6f568 (diff)
downloadphp-git-273e194df579d4ae9ea848a1b2ee91e9f61fc141.tar.gz
Replace zval_dtor() with specialized destructors
-rw-r--r--ext/mysqli/mysqli_warning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_warning.c b/ext/mysqli/mysqli_warning.c
index 0ff46ec7f9..0170dec4bb 100644
--- a/ext/mysqli/mysqli_warning.c
+++ b/ext/mysqli/mysqli_warning.c
@@ -42,8 +42,8 @@ void php_clear_warnings(MYSQLI_WARNING *w)
while (w) {
n = w;
- zval_dtor(&(w->reason));
- zval_dtor(&(w->sqlstate));
+ zval_ptr_dtor_str(&(w->reason));
+ zval_ptr_dtor_str(&(w->sqlstate));
w = w->next;
efree(n);
}