cvs: php3 /functions oci8.c

From: Date: Sun, 07 Jan 2001 11:44:22 +0000
Subject: cvs: php3 /functions oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3415@lists.php.net to get a copy of this message
thies Sun Jan 7 03:44:22 2001 EDT Modified files: /php3/functions oci8.c Log: fix small leak in ociexecute() fixes: #8573 submitted by: tcarroll@chc-chimes.com Index: php3/functions/oci8.c diff -u php3/functions/oci8.c:1.135 php3/functions/oci8.c:1.136 --- php3/functions/oci8.c:1.135 Sun Oct 29 01:18:25 2000 +++ php3/functions/oci8.c Sun Jan 7 03:44:22 2001 @@ -33,7 +33,7 @@ #define OCI8_USE_EMALLOC 0 /* set this to 1 if you want to use the php memory manager! */ -/* $Id: oci8.c,v 1.135 2000/10/29 09:18:25 thies Exp $ */ +/* $Id: oci8.c,v 1.136 2001/01/07 11:44:22 thies Exp $ */ /* TODO list: * @@ -1067,14 +1067,6 @@ return 0; } - OCIHandleAlloc( - OCI8_GLOBAL(php3_oci8_module).pEnv, - (dvoid **)&param, - OCI_DTYPE_PARAM, - 0, - NULL); - - counter = 1; statement->error = @@ -1111,7 +1103,7 @@ (dvoid *)statement->pStmt, OCI_HTYPE_STMT, statement->pError, - (dvoid*)&param, + (dvoid**)&param, counter)); if (statement->error) { return 0; /* XXX we loose memory!!! */

« previous php.cvs (#3415) next »