cvs: php4 /ext/oracle oracle.c

From: Date: Tue, 27 Mar 2001 14:55:03 +0000
Subject: cvs: php4 /ext/oracle oracle.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4859@lists.php.net to get a copy of this message
thies Tue Mar 27 06:55:03 2001 EDT Modified files: /php4/ext/oracle oracle.c Log: fixed newly introduced crash in ora_bind Index: php4/ext/oracle/oracle.c diff -u php4/ext/oracle/oracle.c:1.60 php4/ext/oracle/oracle.c:1.61 --- php4/ext/oracle/oracle.c:1.60 Sun Feb 25 22:07:10 2001 +++ php4/ext/oracle/oracle.c Tue Mar 27 06:55:03 2001 @@ -1710,7 +1710,6 @@ if (zend_hash_find(&EG(symbol_table), paramname, strlen(paramname) + 1, (void **)&pdata) == FAILURE){ php_error(E_WARNING, "Can't find variable for parameter"); - efree(paramname); return 0; } @@ -1725,8 +1724,6 @@ strncpy(param->progv, (*pdata)->value.str.val, len); param->progv[len] = '\0'; - - efree(paramname); } return 1;

« previous php.cvs (#4859) next »