From aa419051e6fe9d37c107321a8e939874f3d8c30e Mon Sep 17 00:00:00 2001 From: Murai Takashi Date: Sat, 13 Jul 2013 16:44:42 +0900 Subject: [PATCH] Fix memory leak for LocalePreflet.cpp Signed-off-by: Oliver Tappe --- src/preferences/locale/LocalePreflet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/locale/LocalePreflet.cpp b/src/preferences/locale/LocalePreflet.cpp index 594e94ddaa..d4440270db 100644 --- a/src/preferences/locale/LocalePreflet.cpp +++ b/src/preferences/locale/LocalePreflet.cpp @@ -74,7 +74,7 @@ LocalePreflet::MessageReceived(BMessage* message) case B_ABOUT_REQUESTED: { - BAboutWindow* window = new BAboutWindow(kAppName, kSignature); + BAboutWindow* window; const char* authors[] = { "Axel Dörfler",