[vlc-devel] commit: Fix a very unlikely memleak ( Rafaël Carré )
git version control
git at videolan.org
Fri May 16 10:14:55 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri May 16 10:15:23 2008 +0200| [4ec082c0b0c0bae2942391a94fffeb3702192e47]
Fix a very unlikely memleak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4ec082c0b0c0bae2942391a94fffeb3702192e47
---
src/libvlc-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/libvlc-common.c b/src/libvlc-common.c
index 42b2d00..f2e5613 100644
--- a/src/libvlc-common.c
+++ b/src/libvlc-common.c
@@ -1998,6 +1998,7 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
p_connection = dbus_bus_get ( DBUS_BUS_SYSTEM, &error );
if( dbus_error_is_set( &error ) || !p_connection )
{
+ libhal_ctx_free( ctx );
dbus_error_free( &error );
return;
}
More information about the vlc-devel
mailing list