CID 1722: Allocate BAboutWindow on the stack.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37958 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2010-08-07 22:59:25 +00:00
parent e31605f41b
commit 19eab0dda2

View File

@ -101,7 +101,7 @@ App::AboutRequested()
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();
}