]> granicus.if.org Git - php/commitdiff
forgot to decrement result_allocated :(
authorGeorg Richter <georg@php.net>
Sat, 16 Nov 2002 16:07:54 +0000 (16:07 +0000)
committerGeorg Richter <georg@php.net>
Sat, 16 Nov 2002 16:07:54 +0000 (16:07 +0000)
ext/mysql/php_mysql.c

index 361ffe5166bfd4c35aa021db18fff1df576ef711..1ef4ec6b314f576d416e21f9fe54fc1952940126 100644 (file)
@@ -231,6 +231,7 @@ static void _free_mysql_result(zend_rsrc_list_entry *rsrc TSRMLS_DC)
        MYSQL_RES *mysql_result = (MYSQL_RES *)rsrc->ptr;
 
        mysql_free_result(mysql_result);
+       MySG(result_allocated)--;
 }
 /* }}} */