[OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix bounds checking by using a helper function. (#177)
Walter Doekes
notifications at github.com
Wed Mar 12 10:32:18 CET 2014
> @@ -444,10 +429,6 @@ str* build_dialoginfo(str* pres_user, str* pres_domain)
> xmlCleanupParser();
> return body;
> error:
> - if ( pres_uri )
> - {
> - pkg_free(pres_uri);
Here it was freed, but it wasn't when the function returned succesfully.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/177/files#r10510217
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140312/941bc09d/attachment-0001.htm>
More information about the Devel
mailing list