diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-04-08 13:29:42 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-04-08 13:29:42 +0300 |
commit | 4d9a1883aa764e502990488d2e8b9c978be6fbd2 (patch) | |
tree | 1058bb04ebf8266a316c6449132e7cda7d0ce54b /ext/mysqlnd/mysqlnd_auth.c | |
parent | fa795b05530c4ccd33ff63f23903bf4b458dc491 (diff) | |
download | php-git-4d9a1883aa764e502990488d2e8b9c978be6fbd2.tar.gz |
Fixed bug #68887 (resources are not freed correctly)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_auth.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_auth.c b/ext/mysqlnd/mysqlnd_auth.c index e9eb773f9c..2ecdd95ede 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -555,7 +555,7 @@ mysqlnd_sha256_get_rsa_key(MYSQLND_CONN_DATA * conn, DBG_INF_FMT("Public key:%*.s", key_str->len, key_str->val); zend_string_release(key_str); } - php_stream_free(stream, PHP_STREAM_FREE_CLOSE); + php_stream_close(stream); } } DBG_RETURN(ret); |