[OpenSIPS-Devel] [OpenSIPS/opensips] 4601e5: Fixed memory leak on checking disposition hdr.
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Mar 11 11:10:54 CET 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 4601e5653be202912a3732f08cdafc63d64afe7f
https://github.com/OpenSIPS/opensips/commit/4601e5653be202912a3732f08cdafc63d64afe7f
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2016-03-11 (Fri, 11 Mar 2016)
Changed paths:
M modules/sipmsgops/sipmsgops.c
Log Message:
-----------
Fixed memory leak on checking disposition hdr.
Free the parsed disposition body all the time (on success and failure) as it is not attached to any structure, so it will leak if not explicitly be freed.
Credits for reporting this go to Jarrod Baumann.
Based on an original fix from Jarrod Baumann
Closes PR #825
More information about the Devel
mailing list