From d79071b2daede36a5f6ee6677d41a3537000ba81 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Sun, 7 Jan 2001 11:43:07 +0000 Subject: [PATCH] fix small leak in ociexecute() fixes: #8573 submitted by: tcarroll@chc-chimes.com --- ext/oci8/oci8.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index d6129d4d98..1b10b72106 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1219,12 +1219,6 @@ oci_execute(oci_statement *statement, char *func,ub4 mode) statement->columns = emalloc(sizeof(HashTable)); zend_hash_init(statement->columns, 13, NULL, _oci_column_hash_dtor, 0); - OCIHandleAlloc(OCI(pEnv), - (dvoid **)¶m, - OCI_DTYPE_PARAM, - 0, - NULL); - counter = 1; statement->error = @@ -1261,7 +1255,7 @@ oci_execute(oci_statement *statement, char *func,ub4 mode) (dvoid *)statement->pStmt, OCI_HTYPE_STMT, statement->pError, - (dvoid*)¶m, + (dvoid**)¶m, counter)); if (statement->error) { return 0; /* XXX we loose memory!!! */ -- 2.50.1