[OpenSIPS-Devel] [opensips] append HTTP headers with rest_client (#496)

Jarrod Baumann notifications at github.com
Tue May 5 08:08:14 CEST 2015


Also, there may have been the potential for a memory leak in `start_async_http_req` where `(struct curl_slist *) list` was allocated at rest_methods.c:130 and hit `goto error;` at rest_methods.c:183 which bypassed the `curl_slist_free_all(list);` in the `success:` label.

Pull request #497 adds the free call to the `error:` label as well.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/496#issuecomment-98964917
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150504/d0a8d43e/attachment.htm>


More information about the Devel mailing list