Fix two minor memory leaks in pending state dialog

This commit is contained in:
Tim Mayberry 2013-07-31 19:38:32 +10:00
parent 78e3864c5d
commit 53bf1a65e8
1 changed files with 2 additions and 2 deletions

View File

@ -3737,8 +3737,8 @@ ARDOUR_UI::session_dialog (std::string msg)
int
ARDOUR_UI::pending_state_dialog ()
{
HBox* hbox = new HBox();
Image* image = new Image (Stock::DIALOG_QUESTION, ICON_SIZE_DIALOG);
HBox* hbox = manage (new HBox());
Image* image = manage (new Image (Stock::DIALOG_QUESTION, ICON_SIZE_DIALOG));
ArdourDialog dialog (_("Crash Recovery"), true);
Label message (string_compose (_("\
This session appears to have been in the\n\