]> granicus.if.org Git - php/commitdiff
- Discoverd possible bug. Could somebody have a look.
authorUwe Steinmann <steinm@php.net>
Wed, 5 Jul 2000 19:48:24 +0000 (19:48 +0000)
committerUwe Steinmann <steinm@php.net>
Wed, 5 Jul 2000 19:48:24 +0000 (19:48 +0000)
ext/mysql/php_mysql.c

index 2eb11df8348663facbdfc091100194a72721251e..3a3747bee8ff6162ce6483cf4ad4d875bfe6fab3 100644 (file)
@@ -598,7 +598,9 @@ PHP_FUNCTION(mysql_close)
        }
        
        ZEND_FETCH_RESOURCE2(mysql, MYSQL *, mysql_link, id, "MySQL-Link", le_link, le_plink);
-       
+
+       /* XXX shouldn't this be zend_list_delete((*mysql_link)->value.lval)
+        * if the optional parameter is present? (steinm@php.net) */
        zend_list_delete(id);
        RETURN_TRUE;
 }