Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
sorry about that =\
  • Loading branch information
tony2001 committed Feb 3, 2016
1 parent 52e120f commit 3a2c9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/curl/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3a2c9e6

Please sign in to comment.