[vlc-devel] commit: Fix a memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Jul 27 20:34:26 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jul 27 20:37:21 2008 +0200| [a106e0a3bcf439dd278f12c53254870f5cf358c3]
Fix a memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a106e0a3bcf439dd278f12c53254870f5cf358c3
---
src/playlist/services_discovery.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/playlist/services_discovery.c b/src/playlist/services_discovery.c
index f63b873..76ce11d 100644
--- a/src/playlist/services_discovery.c
+++ b/src/playlist/services_discovery.c
@@ -423,6 +423,7 @@ int playlist_ServicesDiscoveryRemove( playlist_t * p_playlist,
PL_UNLOCK;
services_discovery_Destroy( p_sds->p_sd );
+ free( p_sds );
return VLC_SUCCESS;
}
More information about the vlc-devel
mailing list