abies Thu Apr 1 05:56:29 2004 EDT Modified files: /php-src/ext/interbase interbase.c Log: Fix unregistered bug (crash when closing db opened with "CREATE DATABASE ...") http://cvs.php.net/diff.php/php-src/ext/interbase/interbase.c?r1=1.207&r2=1.208&ty=u Index: php-src/ext/interbase/interbase.c diff -u php-src/ext/interbase/interbase.c:1.207 php-src/ext/interbase/interbase.c:1.208 --- php-src/ext/interbase/interbase.c:1.207 Mon Mar 8 05:49:17 2004 +++ php-src/ext/interbase/interbase.c Thu Apr 1 05:56:28 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: interbase.c,v 1.207 2004/03/08 10:49:17 abies Exp $ */ +/* $Id: interbase.c,v 1.208 2004/04/01 10:56:28 abies Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -30,7 +30,7 @@ #include "php.h" -#define FILE_REVISION "$Revision: 1.207 $" +#define FILE_REVISION "$Revision: 1.208 $" #if HAVE_IBASE @@ -2372,6 +2372,7 @@ ib_link->handle = db; ib_link->dialect = SQL_DIALECT_CURRENT; ib_link->tr_list = NULL; + ib_link->event_head = NULL; ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link); zend_list_addref(Z_LVAL_P(return_value));
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php