cvs: php4 /main/streams plain_wrapper.c
| From: | Marcus Boerger | Date: | Mon, 19 May 2003 18:46:59 +0000 |
| Subject: | cvs: php4 /main/streams plain_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21086@lists.php.net to get a copy of this message | ||
helly Mon May 19 14:46:59 2003 EDT
Modified files:
/php4/main/streams plain_wrapper.c
Log:
Fix memleaks
Index: php4/main/streams/plain_wrapper.c
diff -u php4/main/streams/plain_wrapper.c:1.14 php4/main/streams/plain_wrapper.c:1.15
--- php4/main/streams/plain_wrapper.c:1.14 Wed May 14 11:12:07 2003
+++ php4/main/streams/plain_wrapper.c Mon May 19 14:46:59 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: plain_wrapper.c,v 1.14 2003/05/14 15:12:07 pollita Exp $ */
+/* $Id: plain_wrapper.c,v 1.15 2003/05/19 18:46:59 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -921,7 +921,7 @@
ZVAL_STRINGL(&funcname, "clearstatcache", sizeof("clearstatcache")-1, 0);
call_user_function_ex(CG(function_table), NULL, &funcname, &retval, 0, NULL, 0, NULL
TSRMLS_CC);
if (retval) {
- zval_dtor(retval);
+ zval_ptr_dtor(&retval);
}
return 1;
}