cvs: php4(PHP_4_3) /ext/odbc php_odbc.c
| From: | Wez Furlong | Date: | Wed, 30 Apr 2003 11:12:04 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/odbc php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20609@lists.php.net to get a copy of this message | ||
wez Wed Apr 30 07:12:04 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/odbc php_odbc.c
Log:
Really fix the leak in the branch...
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.143.2.7 php4/ext/odbc/php_odbc.c:1.143.2.8
--- php4/ext/odbc/php_odbc.c:1.143.2.7 Wed Apr 30 06:46:43 2003
+++ php4/ext/odbc/php_odbc.c Wed Apr 30 07:12:03 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.143.2.7 2003/04/30 10:46:43 wez Exp $ */
+/* $Id: php_odbc.c,v 1.143.2.8 2003/04/30 11:12:03 wez Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1393,10 +1393,6 @@
if (result->numcols == 0) {
php_error(E_WARNING, "No tuples available at this result index");
- RETURN_FALSE;
- }
-
- if (array_init(return_value)==FAILURE) {
RETURN_FALSE;
}