[gnome-panel] run-dialog: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-panel] run-dialog: fix memory leak
- Date: Thu,  3 Mar 2022 12:37:51 +0000 (UTC)
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]