diff --git a/src/preferences/locale/Locale.cpp b/src/preferences/locale/Locale.cpp index 6a13c9af9c..b118456fe7 100644 --- a/src/preferences/locale/Locale.cpp +++ b/src/preferences/locale/Locale.cpp @@ -97,7 +97,10 @@ LocalePreflet::AboutRequested() authors[0] = "Axel Dörfler"; authors[1] = "Adrien Destugues"; authors[2] = NULL; - (new BAboutWindow(B_TRANSLATE("Locale"), 2005, authors))->Show(); + BAboutWindow* about = new BAboutWindow(B_TRANSLATE("Locale"), 2005, + authors); + about->Show(); + delete about; }