[gnome-applets] drivemount: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] drivemount: fix memory leak
- Date: Sun, 21 Mar 2021 17:48:34 +0000 (UTC)
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]