From: Felipe Pena Date: Sat, 25 Jul 2009 20:39:01 +0000 (+0000) Subject: - Making Valgrind happy X-Git-Tag: php-5.4.0alpha1~191^2~2985 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ed7ff728e576a7c8236323a4d6e40c2653ea47b;p=php - Making Valgrind happy --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 220d5892e0..a3e06c9c82 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -2377,7 +2377,7 @@ static void _php_curl_close_ex(php_curl *ch TSRMLS_DC) if (Z_REFCOUNT_P(ch->clone) <= 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 { Z_DELREF_P(ch->clone); ch->to_free.slist.dtor = NULL;