tony2001                Wed Apr  2 14:56:21 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/oci8   oci8_statement.c oci8_interface.c 
  Log:
  MFH
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_statement.c?r1=1.7.2.14.2.28.2.7&r2=1.7.2.14.2.28.2.8&diff_format=u
Index: php-src/ext/oci8/oci8_statement.c
diff -u php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28.2.7 
php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28.2.8
--- php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.28.2.7 Tue Mar 25 17:38:07 2008
+++ php-src/ext/oci8/oci8_statement.c   Wed Apr  2 14:56:21 2008
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_statement.c,v 1.7.2.14.2.28.2.7 2008/03/25 17:38:07 sixd Exp $ */
+/* $Id: oci8_statement.c,v 1.7.2.14.2.28.2.8 2008/04/02 14:56:21 tony2001 Exp 
$ */
 
 
 #ifdef HAVE_CONFIG_H
@@ -767,7 +767,11 @@
                zend_hash_destroy(statement->defines);
                efree(statement->defines);
        }
-       
+
+       if (statement->parent_stmtid) {
+               zend_list_delete(statement->parent_stmtid);
+       }
+
        zend_list_delete(statement->connection->rsrc_id);
        efree(statement);
        
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8_interface.c?r1=1.8.2.7.2.13.2.4&r2=1.8.2.7.2.13.2.5&diff_format=u
Index: php-src/ext/oci8/oci8_interface.c
diff -u php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.13.2.4 
php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.13.2.5
--- php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.13.2.4  Tue Mar 25 02:00:30 2008
+++ php-src/ext/oci8/oci8_interface.c   Wed Apr  2 14:56:21 2008
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_interface.c,v 1.8.2.7.2.13.2.4 2008/03/25 02:00:30 sixd Exp $ */
+/* $Id: oci8_interface.c,v 1.8.2.7.2.13.2.5 2008/04/02 14:56:21 tony2001 Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1511,10 +1511,6 @@
        PHP_OCI_ZVAL_TO_STATEMENT(z_statement, statement);
 
        zend_list_delete(statement->id);
-       if (statement->parent_stmtid) {
-               zend_list_delete(statement->parent_stmtid);
-       } 
-       
        RETURN_TRUE;
 }
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to