[vlc-devel] commit: Fix memleak ( Rafaël Carré )
git version control
git at videolan.org
Tue May 20 15:16:14 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue May 20 15:05:40 2008 +0200| [27965f62a1a68ddbff697474e9ca3eab0b3b907b]
Fix memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27965f62a1a68ddbff697474e9ca3eab0b3b907b
---
src/stream_output/sap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c
index 83fc499..ba9fdee 100644
--- a/src/stream_output/sap.c
+++ b/src/stream_output/sap.c
@@ -524,6 +524,7 @@ static int announce_SAPAnnounceDel( sap_handler_t *p_sap,
{
if( p_session == p_sap->pp_sessions[i]->p_sd )
{
+ free( p_session->psz_sdp );
sap_session_t *p_mysession = p_sap->pp_sessions[i];
REMOVE_ELEM( p_sap->pp_sessions,
p_sap->i_sessions,
More information about the vlc-devel
mailing list