Re: cvs: php-src /ext/odbc php_odbc.c
| From: | Andi Gutmans | Date: | Sat, 02 Jul 2005 23:41:07 +0000 |
| Subject: | Re: cvs: php-src /ext/odbc php_odbc.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32649@lists.php.net to get a copy of this message | ||
What bug # is this?
You're sure it's correct?
At 10:48 PM 7/2/2005 +0000, Edin Kadribasic wrote:
edink Sat Jul 2 18:48:09 2005 EDTModified files:/php-src/ext/odbc php_odbc.cLog: Don't crash on exit by destroying the same hash twice http://cvs.php.net/diff.php/php-src/ext/odbc/php_odbc.c?r1=1.186&r2=1.187&ty=u Index: php-src/ext/odbc/php_odbc.c diff -u php-src/ext/odbc/php_odbc.c:1.186 php-src/ext/odbc/php_odbc.c:1.187 --- php-src/ext/odbc/php_odbc.c:1.186 Thu Jun 2 11:40:45 2005 +++ php-src/ext/odbc/php_odbc.c Sat Jul 2 18:48:06 2005 @@ -20,7 +20,7 @@+----------------------------------------------------------------------+*/ -/* $Id: php_odbc.c,v 1.186 2005/06/02 15:40:45 tony2001 Exp $ */ +/* $Id: php_odbc.c,v 1.187 2005/07/02 22:48:06 edink Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -246,7 +246,7 @@odbc_result *res; odbc_connection *conn = (odbc_connection *)rsrc->ptr;- nument = zend_hash_next_free_element(&EG(regular_list)); + nument = zend_hash_next_free_element(&EG(persistent_list)); for(i = 1; i < nument; i++) { ptr = zend_list_find(i, &type); if (ptr && (type == le_result)) {-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php