diff options
author | Andrey Hristov <andrey@php.net> | 2012-10-16 15:06:02 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2012-10-16 15:06:02 +0200 |
commit | b0e8fb6489f7aa65aeaae6198a3dd81574f1ebcd (patch) | |
tree | cbf6a18cebf997dff0f7984243fe006926354da2 /ext/mysqlnd/mysqlnd_auth.c | |
parent | ccf749e38d1c05ab50d30781b47e55786d571585 (diff) | |
download | php-git-b0e8fb6489f7aa65aeaae6198a3dd81574f1ebcd.tar.gz |
fix newly introduced segfault
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 3cae693de4..cdbdf6d7ed 100644 --- a/ext/mysqlnd/mysqlnd_auth.c +++ b/ext/mysqlnd/mysqlnd_auth.c @@ -555,8 +555,8 @@ mysqlnd_sha256_get_rsa_key(MYSQLND_CONN_DATA * conn, DBG_INF_FMT("Public key:%*.s", len, key_str); efree(key_str); } + php_stream_free(stream, PHP_STREAM_FREE_CLOSE); } - php_stream_free(stream, PHP_STREAM_FREE_CLOSE); } DBG_RETURN(ret); } |