Update of /cvsroot/audacity/audacity-src/src/widgets
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20826

Modified Files:
        ASlider.cpp 
Log Message:
Fix memleak.

Index: ASlider.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/ASlider.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- ASlider.cpp 9 Jul 2009 21:29:13 -0000       1.74
+++ ASlider.cpp 10 Jul 2009 02:27:43 -0000      1.75
@@ -470,7 +470,9 @@
 LWSlider::~LWSlider()
 {
    delete mBitmap;
-   //   delete mThumbBitmap;
+   if (mOrientation == wxVERTICAL && mThumbBitmap) {
+      delete mThumbBitmap;
+   }
    delete mPopWin;
 }
 


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to