[haiku-commits] r37958 - haiku/trunk/src/apps/launchbox

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 8 Aug 2010 00:59:26 +0200 (CEST)

Author: korli
Date: 2010-08-08 00:59:25 +0200 (Sun, 08 Aug 2010)
New Revision: 37958
Changeset: http://dev.haiku-os.org/changeset/37958

Modified:
   haiku/trunk/src/apps/launchbox/App.cpp
Log:
CID 1722: Allocate BAboutWindow on the stack.


Modified: haiku/trunk/src/apps/launchbox/App.cpp
===================================================================
--- haiku/trunk/src/apps/launchbox/App.cpp      2010-08-07 17:47:44 UTC (rev 
37957)
+++ haiku/trunk/src/apps/launchbox/App.cpp      2010-08-07 22:59:25 UTC (rev 
37958)
@@ -101,7 +101,7 @@
        const char* authors[2];
        authors[0] = "Stephan Aßmus (aka stippi)";
        authors[1] = NULL;
-       (new BAboutWindow("LaunchBox", 2004, authors))->Show();
+       BAboutWindow("LaunchBox", 2004, authors).Show();
 }
 
 


Other related posts:

  • » [haiku-commits] r37958 - haiku/trunk/src/apps/launchbox - korli