[OpenSIPS-Devel] [opensips] free_disposition for any negative return error code (#825)
Jarrod Baumann
notifications at github.com
Thu Mar 10 21:02:57 CET 2016
I believe #822 is still occurring and that the disposition memory should be freed when ANY negative error code is received. The package memory was still allocated just a few lines prior and a return code of -1 from `parse_disposition` only means that a disposition parameter was unable to allocate pkg memory.
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSIPS/opensips/pull/825
-- Commit Summary --
* free_disposition for any negative return error code
-- File Changes --
M modules/sipmsgops/sipmsgops.c (10)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/825.patch
https://github.com/OpenSIPS/opensips/pull/825.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160310/df64af67/attachment-0001.htm>
More information about the Devel
mailing list