diff options
author | Edin Kadribasic <edink@php.net> | 2005-07-02 22:48:06 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2005-07-02 22:48:06 +0000 |
commit | 9ac84b2f1ac1180b65bb75760d801b609abacee9 (patch) | |
tree | 7f68c207d7b5eb953c3397acee45e9eb9ef4506f /ext/odbc | |
parent | 2b47899981318ef2cae922a59122989b0f78f143 (diff) | |
download | php-git-9ac84b2f1ac1180b65bb75760d801b609abacee9.tar.gz |
Don't crash on exit by destroying the same hash twice
Diffstat (limited to 'ext/odbc')
-rw-r--r-- | ext/odbc/php_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 1b11986d20..0ba798e211 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -246,7 +246,7 @@ static void _close_odbc_pconn(zend_rsrc_list_entry *rsrc TSRMLS_DC) 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)) { |