summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-06-24 22:22:48 +0000
committerAndrey Hristov <andrey@php.net>2008-06-24 22:22:48 +0000
commit827b772c9fbfc52fb1fdabf96813eca6f319f961 (patch)
treeb9502d2937e9c50fff58b17c107efa031e0a667a /ext/mysqlnd/mysqlnd.c
parent4a58de4c5cc4452fb8fd37d547035cee31318d01 (diff)
downloadphp-git-827b772c9fbfc52fb1fdabf96813eca6f319f961.tar.gz
Fix remaining valgrind problems with pconn and zval cache
HEAD merge will follow tomorrow.
Diffstat (limited to 'ext/mysqlnd/mysqlnd.c')
-rw-r--r--ext/mysqlnd/mysqlnd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c
index 5f50d80e06..12b215ac4c 100644
--- a/ext/mysqlnd/mysqlnd.c
+++ b/ext/mysqlnd/mysqlnd.c
@@ -466,6 +466,7 @@ PHPAPI void _mysqlnd_end_psession(MYSQLND *conn TSRMLS_DC)
{
DBG_ENTER("_mysqlnd_end_psession");
/* The thd zval cache is always freed on request shutdown, so this has happened already */
+ mysqlnd_palloc_free_thd_cache_reference(&conn->zval_cache);
conn->zval_cache = NULL;
DBG_VOID_RETURN;
}