Sorry, previous attachment did not work.
On 08/31/2012 02:06 PM, Vicente Hernando wrote:
Hello,
within w_get_sdp function in modules/sdpops/sdpops_mod.c
} else {
avp_val.s.s = pkg_malloc(sdp->raw_sdp.len);
avp_val.s.len = sdp->raw_sdp.len;
if (avp_val.s.s == NULL)
I do not find anywhere where avp_val.s.s variable is freed.
So I attach two possible patches to solve that in two different ways.
Kind regards,
Vicente.
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev