CID 1717: BAboutBoxmust be deleted after use.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37955 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
324670b9c3
commit
2644dc421a
@ -97,7 +97,10 @@ LocalePreflet::AboutRequested()
|
|||||||
authors[0] = "Axel Dörfler";
|
authors[0] = "Axel Dörfler";
|
||||||
authors[1] = "Adrien Destugues";
|
authors[1] = "Adrien Destugues";
|
||||||
authors[2] = NULL;
|
authors[2] = NULL;
|
||||||
(new BAboutWindow(B_TRANSLATE("Locale"), 2005, authors))->Show();
|
BAboutWindow* about = new BAboutWindow(B_TRANSLATE("Locale"), 2005,
|
||||||
|
authors);
|
||||||
|
about->Show();
|
||||||
|
delete about;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user