From: Antony Dovgal Date: Wed, 3 Feb 2016 15:02:58 +0000 (+0300) Subject: fix build X-Git-Tag: php-7.2.0alpha1~620^2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d593b29e26c631b2ff56645b6370bdbd23f5eb4;p=php fix build sorry about that =\ --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 9da1aa7acd..cd2b07faa2 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -1751,7 +1751,7 @@ static php_curl *alloc_curl_handle() memset(&ch->err, 0, sizeof(struct _php_curl_error)); zend_llist_init(&ch->to_free->str, sizeof(char *), (llist_dtor_func_t)curl_free_string, 0); - zend_llist_init(&ch->to_free->post, sizeof(struct *HttpPost), (llist_dtor_func_t)curl_free_post, 0); + zend_llist_init(&ch->to_free->post, sizeof(struct HttpPost *), (llist_dtor_func_t)curl_free_post, 0); ch->to_free->slist = emalloc(sizeof(HashTable)); zend_hash_init(ch->to_free->slist, 4, NULL, curl_free_slist, 0);