[OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. (#174)
Walter Doekes
notifications at github.com
Wed Mar 5 12:24:12 CET 2014
This commit fixes a couple of presence issues (introduced in 80c48e6):
* There was a memory leak in dlginfo_agg_nbody.
* Bounds checking in dlginfo_agg_nbody was off by 4 (potential stack
corruption).
* There were 2 PKG allocs, straight after one another while no alloc
was needed at all: reduced to 1 optional one.
* Replace "dumy" with "dummy" in the vicinity.
You can merge this Pull Request by running:
git pull https://github.com/wdoekes/opensips wjd-fix_dialogaggr_memleak
Or you can view, comment on it, or merge it online at:
https://github.com/OpenSIPS/opensips/pull/174
-- Commit Summary --
* presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody.
* Remove debug code.
-- File Changes --
M modules/presence_callinfo/add_events.c (4)
M modules/presence_dialoginfo/notify_body.c (71)
-- Patch Links --
https://github.com/OpenSIPS/opensips/pull/174.patch
https://github.com/OpenSIPS/opensips/pull/174.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/174
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140305/26d492b2/attachment.htm>
More information about the Devel
mailing list