[vlc-devel] commit: qt4: fix memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Apr 28 11:30:19 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Apr 28 11:29:04 2009 +0200| [e35dcda6a0bfe643a21204c4988c3f6bc62543b0] | committer: Rémi Duraffort
qt4: fix memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e35dcda6a0bfe643a21204c4988c3f6bc62543b0
---
modules/gui/qt4/components/extended_panels.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 1482ca0..be03990 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1065,6 +1065,7 @@ void Equalizer::setCorePreset( int i_preset )
config_PutPsz( p_intf, "equalizer-preset", preset_list[i_preset] );
config_PutFloat( p_intf, "equalizer-preamp",
eqz_preset_10b[i_preset]->f_preamp );
+ free( psz_values );
}
static int PresetCallback( vlc_object_t *p_this, char const *psz_cmd,
More information about the vlc-devel
mailing list