[gnome-applets] drivemount: fix memory leak



commit 11ec29f78d1b83a6846a4106dc29b515c63278eb
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Mar 21 19:01:08 2021 +0200

    drivemount: fix memory leak
    
    Coverity CID: #1502729

 gnome-applets/drivemount/drive-button.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gnome-applets/drivemount/drive-button.c b/gnome-applets/drivemount/drive-button.c
index 08113872e..6c9519ff1 100644
--- a/gnome-applets/drivemount/drive-button.c
+++ b/gnome-applets/drivemount/drive-button.c
@@ -896,4 +896,6 @@ drive_button_ensure_popup (DriveButton *self)
        g_free (label);
        gtk_container_add (GTK_CONTAINER (self->popup_menu), item);
     }
+
+    g_free (display_name);
 }


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