diff options
| author | mbkma <[email protected]> | 2026-03-12 00:08:58 +0100 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-03-12 12:25:24 -0400 |
| commit | 0948be642e6ddb264d9d558db32139a6a84008fb (patch) | |
| tree | 4be3243b4b386aae17b9acb42143adb186d7ceed | |
| parent | d09730a3e817960fcb0375195c2c8cd67dd21cbb (diff) | |
| download | mate-panel-master.tar.bz2 mate-panel-master.tar.xz | |
| -rw-r--r-- | mate-panel/panel-run-dialog.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mate-panel/panel-run-dialog.c b/mate-panel/panel-run-dialog.c index 49c4e761..a98afc46 100644 --- a/mate-panel/panel-run-dialog.c +++ b/mate-panel/panel-run-dialog.c @@ -493,6 +493,8 @@ panel_run_dialog_execute (PanelRunDialog *dialog) "cannot_convert_command_from_utf8", TRUE, primary, error->message); g_free (primary); + g_free (command); + g_free (disk); g_error_free (error); return; @@ -2120,8 +2122,11 @@ panel_run_dialog_present (GdkScreen *screen, GtkBuilder *gui; accelerator_keys_to_tree_iter_map = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, NULL); - if (panel_lockdown_get_disable_command_line ()) + if (panel_lockdown_get_disable_command_line ()) { + g_hash_table_destroy (accelerator_keys_to_tree_iter_map); + accelerator_keys_to_tree_iter_map = NULL; return; + } if (static_dialog) { gtk_window_set_screen (GTK_WINDOW (static_dialog->run_dialog), screen); |
