Update of /cvsroot/audacity/audacity-src/src/effects/ladspa
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4784

Modified Files:
        LadspaEffect.cpp LoadLadspa.cpp 
Log Message:

Fix memleak and add system library to ladspa search paths.


Index: LadspaEffect.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/ladspa/LadspaEffect.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- LadspaEffect.cpp    20 May 2009 06:22:49 -0000      1.52
+++ LadspaEffect.cpp    29 May 2009 07:14:46 -0000      1.53
@@ -708,9 +708,11 @@
 
 LadspaEffectDialog::~LadspaEffectDialog()
 {
+   delete[]toggles;
    delete[]sliders;
    delete[]fields;
    delete[]labels;
+   delete[]ports;
 }
 
 void LadspaEffectDialog::OnCheckBox(wxCommandEvent &event)

Index: LoadLadspa.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/ladspa/LoadLadspa.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- LoadLadspa.cpp      20 May 2009 06:05:38 -0000      1.34
+++ LoadLadspa.cpp      29 May 2009 07:14:46 -0000      1.35
@@ -279,6 +279,7 @@
    #ifdef __WXGTK__
    wxGetApp().AddUniquePathToPathList(wxT(INSTALL_PREFIX) wxT("/ladspa"), 
pathList);
    wxGetApp().AddUniquePathToPathList(wxT("/usr/local/lib/ladspa"), pathList);
+   wxGetApp().AddUniquePathToPathList(wxT("/usr/lib/ladspa"), pathList);
    wxGetApp().AddUniquePathToPathList(wxT(LIBDIR) wxT("/ladspa"), pathList);
    #endif
 


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to