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
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to