diff options
author | Andrey Hristov <andrey@php.net> | 2011-01-10 15:28:52 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2011-01-10 15:28:52 +0000 |
commit | 00eaff15282bbef88e1a41df337c99ef441221b9 (patch) | |
tree | b08ff8c712bcb8accd994631963895ec98a9bc34 /ext/mysqlnd/mysqlnd_plugin.c | |
parent | 61d49db1f3547cd762ab70a1410185351f903d7c (diff) | |
download | php-git-00eaff15282bbef88e1a41df337c99ef441221b9.tar.gz |
plug a leak
Diffstat (limited to 'ext/mysqlnd/mysqlnd_plugin.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_plugin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_plugin.c b/ext/mysqlnd/mysqlnd_plugin.c index 49e684318b..97e1bada29 100644 --- a/ext/mysqlnd/mysqlnd_plugin.c +++ b/ext/mysqlnd/mysqlnd_plugin.c @@ -75,11 +75,10 @@ static struct st_mysqlnd_typeii_plugin_example mysqlnd_example_plugin = static enum_func_status mysqlnd_example_plugin_end(void * p TSRMLS_DC) { -#if A0 struct st_mysqlnd_typeii_plugin_example * plugin = (struct st_mysqlnd_typeii_plugin_example *) p; -#endif DBG_ENTER("mysqlnd_example_plugin_end"); - + mysqlnd_stats_end(plugin->plugin_header.plugin_stats.values); + plugin->plugin_header.plugin_stats.values = NULL; DBG_RETURN(PASS); } /* }}} */ |