mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix alloc-dealloc-mismatch (malloc vs operator delete)
This commit is contained in:
parent
168b67bd17
commit
7e121f4e13
1 changed files with 6 additions and 6 deletions
|
|
@ -442,7 +442,7 @@ ARDOUR_UI::load_session_stage_two (const std::string& path, const std::string& s
|
||||||
|
|
||||||
(void) msg.run ();
|
(void) msg.run ();
|
||||||
msg.hide ();
|
msg.hide ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
@ -473,7 +473,7 @@ ARDOUR_UI::load_session_stage_two (const std::string& path, const std::string& s
|
||||||
|
|
||||||
(void) msg.run ();
|
(void) msg.run ();
|
||||||
msg.hide ();
|
msg.hide ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
@ -501,7 +501,7 @@ ARDOUR_UI::load_session_stage_two (const std::string& path, const std::string& s
|
||||||
|
|
||||||
(void) msg.run ();
|
(void) msg.run ();
|
||||||
msg.hide ();
|
msg.hide ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
@ -700,7 +700,7 @@ ARDOUR_UI::build_session_stage_two (std::string const& path, std::string const&
|
||||||
msg.set_title (_("Loading Error"));
|
msg.set_title (_("Loading Error"));
|
||||||
msg.set_position (Gtk::WIN_POS_CENTER);
|
msg.set_position (Gtk::WIN_POS_CENTER);
|
||||||
msg.run ();
|
msg.run ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
catch (Glib::Error const& e) {
|
catch (Glib::Error const& e) {
|
||||||
|
|
@ -724,7 +724,7 @@ ARDOUR_UI::build_session_stage_two (std::string const& path, std::string const&
|
||||||
msg.set_title (_("Loading Error"));
|
msg.set_title (_("Loading Error"));
|
||||||
msg.set_position (Gtk::WIN_POS_CENTER);
|
msg.set_position (Gtk::WIN_POS_CENTER);
|
||||||
msg.run ();
|
msg.run ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
|
|
@ -745,7 +745,7 @@ ARDOUR_UI::build_session_stage_two (std::string const& path, std::string const&
|
||||||
msg.set_title (_("Loading Error"));
|
msg.set_title (_("Loading Error"));
|
||||||
msg.set_position (Gtk::WIN_POS_CENTER);
|
msg.set_position (Gtk::WIN_POS_CENTER);
|
||||||
msg.run ();
|
msg.run ();
|
||||||
delete escaped_error_txt;
|
g_free (escaped_error_txt);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue