Commit a58caab6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

RTP sout: memory leak

parent 297002cf
...@@ -179,6 +179,7 @@ void CloseRTCP (rtcp_sender_t *rtcp) ...@@ -179,6 +179,7 @@ void CloseRTCP (rtcp_sender_t *rtcp)
* we can afford not to check bandwidth constraints here. */ * we can afford not to check bandwidth constraints here. */
send (rtcp->handle, rtcp->payload, rtcp->length, 0); send (rtcp->handle, rtcp->payload, rtcp->length, 0);
net_Close (rtcp->handle); net_Close (rtcp->handle);
free (rtcp);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment