diff options
| author | Xinchen Hui <laruence@php.net> | 2014-06-19 16:20:21 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2014-06-19 16:20:21 +0800 |
| commit | 46117aff497577fa5ae2563e29fa15480a45af5f (patch) | |
| tree | eb08eda6cc0c6626417c186f3bbe9061b9d28b70 /ext/mysqli/mysqli.c | |
| parent | 82823e1e963cdb7762ce24efdfbf29fffe424400 (diff) | |
| download | php-git-46117aff497577fa5ae2563e29fa15480a45af5f.tar.gz | |
Fixed releasing of hash_key
Diffstat (limited to 'ext/mysqli/mysqli.c')
| -rw-r--r-- | ext/mysqli/mysqli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index fa376a518a..7dcc5b7aec 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -185,7 +185,7 @@ void php_clear_stmt_bind(MY_STMT *stmt TSRMLS_DC) /* {{{ php_clear_mysql */ void php_clear_mysql(MY_MYSQL *mysql) { if (mysql->hash_key) { - efree(mysql->hash_key); + STR_RELEASE(mysql->hash_key); mysql->hash_key = NULL; } if (!Z_ISUNDEF(mysql->li_read)) { |
