[sr-dev] [kamailio/kamailio] msrp: fix some tcpconn where memory was never cleaned up (PR #2890)

Nacho G. notifications at github.com
Fri Oct 22 11:16:51 CEST 2021

@NGSegovia commented on this pull request.

> @@ -169,12 +169,16 @@ int msrp_relay(msrp_frame_t *mf)
 			wsev.len = p - reqbuf;
 			wsev.id = con->id;
 			evp.data = (void *)&wsev;
+			tcpconn_put(con);
 			return sr_event_exec(SREV_TCP_WS_FRAME_OUT, &evp);

Updated. Thanks for the feedback.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211022/5286829b/attachment.htm>

More information about the sr-dev mailing list