summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 82509151df..078e48b4d0 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -331,6 +331,7 @@ PHP_RINIT_FUNCTION(mysql)
PHP_RSHUTDOWN_FUNCTION(mysql)
{
+ MySLS_FETCH();
if (MySG(connect_error)!=NULL) {
efree(MySG(connect_error));
}