[vlc-devel] commit: Fix memory leak on error path (CID 62) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri May 30 18:18:02 CEST 2008
vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri May 30 19:19:40 2008 +0300| [5e93dc81c15504c3fe50c8e89272a33e6ed5a69c]
Fix memory leak on error path (CID 62)
Already fixed long ago on master.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e93dc81c15504c3fe50c8e89272a33e6ed5a69c
---
src/misc/configuration.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/misc/configuration.c b/src/misc/configuration.c
index b751941..04c784b 100644
--- a/src/misc/configuration.c
+++ b/src/misc/configuration.c
@@ -1157,6 +1157,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
msg_Warn( p_this, "could not open config file %s for writing",
psz_filename );
free( psz_filename );
+ free( p_bigbuffer );
vlc_list_release( p_list );
vlc_mutex_unlock( &p_this->p_vlc->config_lock );
return -1;
More information about the vlc-devel
mailing list