tony2001                Wed Apr  2 14:56:43 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /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.32&r2=1.7.2.14.2.33&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.32 
php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.33
--- php-src/ext/oci8/oci8_statement.c:1.7.2.14.2.32     Mon Feb 25 23:52:10 2008
+++ php-src/ext/oci8/oci8_statement.c   Wed Apr  2 14:56:43 2008
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_statement.c,v 1.7.2.14.2.32 2008/02/25 23:52:10 sixd Exp $ */
+/* $Id: oci8_statement.c,v 1.7.2.14.2.33 2008/04/02 14:56:43 tony2001 Exp $ */
 
 
 #ifdef HAVE_CONFIG_H
@@ -776,7 +776,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.15&r2=1.8.2.7.2.16&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.15 
php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.16
--- php-src/ext/oci8/oci8_interface.c:1.8.2.7.2.15      Mon Feb 25 23:52:10 2008
+++ php-src/ext/oci8/oci8_interface.c   Wed Apr  2 14:56:43 2008
@@ -25,7 +25,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: oci8_interface.c,v 1.8.2.7.2.15 2008/02/25 23:52:10 sixd Exp $ */
+/* $Id: oci8_interface.c,v 1.8.2.7.2.16 2008/04/02 14:56:43 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