[gnome-panel] run-dialog: fix memory leak



commit f048203b04f2c92f4fee7d8c691e30b6bc8993fe
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Mar 3 13:47:33 2022 +0200

    run-dialog: fix memory leak

 gnome-panel/panel-run-dialog.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gnome-panel/panel-run-dialog.c b/gnome-panel/panel-run-dialog.c
index 6b3d31daa..0229e2405 100644
--- a/gnome-panel/panel-run-dialog.c
+++ b/gnome-panel/panel-run-dialog.c
@@ -533,6 +533,7 @@ panel_run_dialog_execute (PanelRunDialog *dialog)
                g_free (primary);
 
                g_error_free (error);
+               g_free (command);
                return;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]