[Debichem-commits] [SCM] massXpert mass spectrometry suite: debian packaging branch, upstream, updated. debian/2.1.0-1

Filippo Rusconi (Debian Maintainer) rusconi-debian at laposte.net
Tue Dec 22 15:43:11 UTC 2009


The following commit has been merged in the upstream branch:
commit 2afc2b016016960a603822c48922a95d7445d6e5
Author: Filippo Rusconi (Debian Maintainer) <rusconi-debian at laposte.net>
Date:   Sat Dec 19 18:51:37 2009 +0100

    Remove if(ptr) condition on delete ptr as deallocating NULL is correct.

diff --git a/gui/application.cpp b/gui/application.cpp
index 53dd1c7..3ea8f40 100644
--- a/gui/application.cpp
+++ b/gui/application.cpp
@@ -628,8 +628,7 @@ namespace massXpert
   void 
   Application::destroySplash()
   {
-    if (mpa_splash)
-      delete mpa_splash;
+    delete mpa_splash;
     
     mpa_splash = 0;
   }

-- 
massXpert mass spectrometry suite: debian packaging



More information about the Debichem-commits mailing list