* fix mem leak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27855 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
036203a01a
commit
eba8ea5eb2
@ -343,8 +343,10 @@ TWindow::MessageReceived(BMessage* m)
|
||||
// freeze the image here, unfreeze after dump or cancel
|
||||
fFatBits->StartSave();
|
||||
|
||||
fSavePanel = new BFilePanel(B_SAVE_PANEL, new BMessenger(NULL, this),
|
||||
0, 0, false, new BMessage(msg_dump));
|
||||
BMessenger messenger(this);
|
||||
BMessage message(msg_dump);
|
||||
fSavePanel = new BFilePanel(B_SAVE_PANEL, &messenger, 0, 0, false,
|
||||
&message);
|
||||
fSavePanel->SetSaveText("Bitmaps.h");
|
||||
fSavePanel->Show();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user