summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-04-08 13:29:42 +0300
committerDmitry Stogov <dmitry@zend.com>2015-04-08 13:29:42 +0300
commit4d9a1883aa764e502990488d2e8b9c978be6fbd2 (patch)
tree1058bb04ebf8266a316c6449132e7cda7d0ce54b /ext/mysqlnd/mysqlnd_debug.c
parentfa795b05530c4ccd33ff63f23903bf4b458dc491 (diff)
downloadphp-git-4d9a1883aa764e502990488d2e8b9c978be6fbd2.tar.gz
Fixed bug #68887 (resources are not freed correctly)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r--ext/mysqlnd/mysqlnd_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c
index 812963ae1a..790ac00cec 100644
--- a/ext/mysqlnd/mysqlnd_debug.c
+++ b/ext/mysqlnd/mysqlnd_debug.c
@@ -460,7 +460,7 @@ MYSQLND_METHOD(mysqlnd_debug, close)(MYSQLND_DEBUG * self)
}
#endif
- php_stream_free(self->stream, PHP_STREAM_FREE_CLOSE);
+ php_stream_close(self->stream);
self->stream = NULL;
}
/* no DBG_RETURN please */