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

Modified Files:
        Project.cpp 
Log Message:
Prevent crash (happened on Vista when quitting) as a result of dereferencing a 
NULL ptr.

Index: Project.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Project.cpp,v
retrieving revision 1.428
retrieving revision 1.429
diff -u -d -r1.428 -r1.429
--- Project.cpp 1 Jun 2009 06:32:16 -0000       1.428
+++ Project.cpp 3 Jun 2009 02:29:25 -0000       1.429
@@ -3332,7 +3332,9 @@
 {
    msClipLen = 0.0;
    msClipProject = NULL;
-   msClipboard->Clear(true);
+   if (msClipboard) {
+      msClipboard->Clear(true);
+   }
 }
 
 void AudacityProject::Clear()


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to