[vlc-devel] commit: upnp_intel: fix potential memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Jan 14 21:07:29 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jan 14 19:57:46 2009 +0100| [e454bb83467b64c0cec10e74f0cb3312078c61a5] | committer: Rémi Duraffort
upnp_intel: fix potential memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e454bb83467b64c0cec10e74f0cb3312078c61a5
---
modules/services_discovery/upnp_intel.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/services_discovery/upnp_intel.cpp b/modules/services_discovery/upnp_intel.cpp
index 45749e0..fdae66a 100644
--- a/modules/services_discovery/upnp_intel.cpp
+++ b/modules/services_discovery/upnp_intel.cpp
@@ -94,6 +94,7 @@ static int Open( vlc_object_t *p_this )
if( res != UPNP_E_SUCCESS )
{
msg_Err( p_sd, "%s", UpnpGetErrorMessage( res ) );
+ free( p_sys );
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list