cvs: php-src /ext/pdo_oci oci_driver.c

From: Date: Tue, 12 May 2009 21:52:55 +0000
Subject: cvs: php-src /ext/pdo_oci oci_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-57735@lists.php.net to get a copy of this message
mbeccati Tue May 12 21:52:55 2009 UTC Modified files: /php-src/ext/pdo_oci oci_driver.c Log: - Fixed bug #48070 http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_oci/oci_driver.c?r1=1.40&r2=1.41&diff_format=u Index: php-src/ext/pdo_oci/oci_driver.c diff -u php-src/ext/pdo_oci/oci_driver.c:1.40 php-src/ext/pdo_oci/oci_driver.c:1.41 --- php-src/ext/pdo_oci/oci_driver.c:1.40 Tue May 12 21:35:20 2009 +++ php-src/ext/pdo_oci/oci_driver.c Tue May 12 21:52:54 2009 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: oci_driver.c,v 1.40 2009/05/12 21:35:20 mbeccati Exp $ */ +/* $Id: oci_driver.c,v 1.41 2009/05/12 21:52:54 mbeccati Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -70,15 +70,13 @@ S = (pdo_oci_stmt*)stmt->driver_data; einfo = &S->einfo; pdo_err = &stmt->error_code; - if (einfo->errmsg) { - efree(einfo->errmsg); - } } else { einfo = &H->einfo; - if (einfo->errmsg) { - pefree(einfo->errmsg, dbh->is_persistent); - } + } + + if (einfo->errmsg) { + pefree(einfo->errmsg, dbh->is_persistent); } einfo->errmsg = NULL;

« previous php.cvs (#57735) next »