From: Felipe Pena Date: Sat, 25 Jul 2009 20:39:01 +0000 (+0000) Subject: - Making Valgrind happy X-Git-Tag: php-5.2.11RC1~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b9b4ad0dd688d6d5172937ee33f90458931223e;p=php - Making Valgrind happy --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 6b84e5330c..a431522d44 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -2086,7 +2086,7 @@ static void _php_curl_close_ex(php_curl *ch TSRMLS_DC) if (ch->clone->refcount <= 1) { zend_llist_clean(&ch->to_free.slist); zend_llist_clean(&ch->to_free.post); - zval_ptr_dtor(&ch->clone); + FREE_ZVAL(ch->clone); } else { ch->clone->refcount--; ch->to_free.slist.dtor = NULL;