X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_url_api.c;h=10a9095449bb96b592800dbe82444200b11835db;hp=e66781f65e07a32c25d46ece9cdcfd952deb01b1;hb=6cb8b71e819cbeef5bc5383a64452a36f56de17f;hpb=b08947e98f1832091c8a9f6dea3799e0524d2822 diff --git a/http_url_api.c b/http_url_api.c index e66781f..10a9095 100644 --- a/http_url_api.c +++ b/http_url_api.c @@ -197,12 +197,12 @@ PHP_HTTP_API STATUS _http_urlencode_hash_ex(HashTable *hash, zend_bool override_ } if (SUCCESS != http_urlencode_hash_implementation(hash, qstr, arg_sep)) { - phpstr_free(qstr); + phpstr_free(&qstr); return FAILURE; } phpstr_data(qstr, encoded_data, encoded_len); - phpstr_free(qstr); + phpstr_free(&qstr); return SUCCESS; }