[vlc-devel] commit: Small memory leak fix. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Jul 26 08:09:26 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 25 23:10:10 2008 -0700| [9b10c9a754d2434b5c087b606de64e1d34e3ef6a]
Small memory leak fix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b10c9a754d2434b5c087b606de64e1d34e3ef6a
---
modules/gui/qt4/util/input_slider.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 50834d9..b3a720f 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -139,6 +139,8 @@ SoundSlider::SoundSlider( QWidget *_parent, int _i_step, bool b_hard,
QLinearGradient gradient( paddingL, 4, WLENGTH + paddingL , 4 );
QStringList colorList = qfu( psz_colors ).split( ";" );
+ free( psz_colors );
+
/* Fill with 255 if the list is too short */
if( colorList.size() < 12 )
for( int i = colorList.size(); i < 12; i++)
More information about the vlc-devel
mailing list