From: Marcus Boerger Date: Mon, 19 May 2003 18:46:59 +0000 (+0000) Subject: Fix memleaks X-Git-Tag: RELEASE_1_0_2~730 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b0fdbf63ab5d3953f6ad1cbbd61d34673cd5d25;p=php Fix memleaks --- diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 6b0f13516c..98e17c72f3 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -921,7 +921,7 @@ static int php_plain_files_unlink(php_stream_wrapper *wrapper, char *url, int op 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; }