summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-12-11 16:35:42 +0000
committerPierre Joye <pajoye@php.net>2009-12-11 16:35:42 +0000
commitaf206a90aee17ca879c309a25ca70b3512f4bb03 (patch)
treea757d920901c0fe8c626a47db0419d1028275b62 /ext/mysqlnd/mysqlnd_wireprotocol.c
parenta2cf15fcc6d27f6f4113cb4f08121241877d28ba (diff)
downloadphp-git-af206a90aee17ca879c309a25ca70b3512f4bb03.tar.gz
- fix build, come on, it is not that hard to test before commit, is it?
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index b9bf3b2de0..ab801cfccf 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -2319,8 +2319,10 @@ mysqlnd_net_init(zend_bool persistent TSRMLS_DC)
void
mysqlnd_net_free(MYSQLND_NET * net TSRMLS_DC)
{
- DBG_ENTER("mysqlnd_net_free");
zend_bool pers = net->persistent;
+
+ DBG_ENTER("mysqlnd_net_free");
+
if (net) {
if (net->cmd_buffer.buffer) {
DBG_INF("Freeing cmd buffer");