[OpenSIPS-Devel] [opensips] free_disposition for any negative return error code (#825)

Bogdan Andrei IANCU notifications at github.com
Fri Mar 11 11:16:38 CET 2016


@jarrodb, many thanks for keep looking into this issue. After paying more attention into this, the massive leak comes from not freeing the "disp" structure (along with all its parameters) on the success branch. Even if the Disposition body is ok, the "disp" is neither attached, not freed anywhere else in the code. So, I extended your fix to free the disp all the time, on failure and success.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/825#issuecomment-195307987
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160311/265164ae/attachment.htm>


More information about the Devel mailing list