[gnome-panel] keyfile: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] keyfile: fix memory leak
- Date: Thu, 3 Mar 2022 12:37:51 +0000 (UTC)
commit 16436d9b866d4ef3a203410bc50a55c5b948e5ab
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Mar 3 13:42:58 2022 +0200
keyfile: fix memory leak
Coverity CID: #1514685
gnome-panel/libpanel-util/panel-keyfile.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gnome-panel/libpanel-util/panel-keyfile.c b/gnome-panel/libpanel-util/panel-keyfile.c
index 22934f4b1..a4d9df1ee 100644
--- a/gnome-panel/libpanel-util/panel-keyfile.c
+++ b/gnome-panel/libpanel-util/panel-keyfile.c
@@ -115,6 +115,7 @@ panel_key_file_to_file (GKeyFile *keyfile,
if (write_error) {
g_propagate_error (error, write_error);
+ g_free (filename);
g_free (data);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]