[vlc-devel] commit: RTP sout: memory leak ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jun 16 18:45:56 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jun 16 19:47:52 2008 +0300| [a58caab63564d9940258e7daa9ba88e48a903cec]

RTP sout: memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a58caab63564d9940258e7daa9ba88e48a903cec
---

 modules/stream_out/rtcp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/rtcp.c b/modules/stream_out/rtcp.c
index 5525b76..cbc3dad 100644
--- a/modules/stream_out/rtcp.c
+++ b/modules/stream_out/rtcp.c
@@ -179,6 +179,7 @@ void CloseRTCP (rtcp_sender_t *rtcp)
      * we can afford not to check bandwidth constraints here. */
     send (rtcp->handle, rtcp->payload, rtcp->length, 0);
     net_Close (rtcp->handle);
+    free (rtcp);
 }
 
 




More information about the vlc-devel mailing list