com php-src: Replace zval_dtor() with specialized d estructors: ext/mysqli/mysqli_warning.c
| From: | Dmitry Stogov | Date: | Thu, 05 Jul 2018 10:55:56 +0000 |
| Subject: | com php-src: Replace zval_dtor() with specialized d estructors: ext/mysqli/mysqli_warning.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102416@lists.php.net to get a copy of this message | ||
Commit: 273e194df579d4ae9ea848a1b2ee91e9f61fc141
Author: Dmitry Stogov <dmitry@zend.com> Thu, 5 Jul 2018 13:55:56 +0300
Parents: 77c6ca7b620d744538d701d9fca446950fb6f568
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=273e194df579d4ae9ea848a1b2ee91e9f61fc141
Log:
Replace zval_dtor() with specialized destructors
Changed paths:
M ext/mysqli/mysqli_warning.c
Diff:
diff --git a/ext/mysqli/mysqli_warning.c b/ext/mysqli/mysqli_warning.c
index 0ff46ec..0170dec 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);
}