[gnome-applets] sticky-notes: fix a memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] sticky-notes: fix a memory leak
- Date: Mon, 24 Jul 2017 16:41:51 +0000 (UTC)
commit f04777973b37265ca9e034421996f16d64853ee2
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Jul 24 10:41:31 2017 +0300
sticky-notes: fix a memory leak
sticky-notes/src/stickynotes.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/sticky-notes/src/stickynotes.c b/sticky-notes/src/stickynotes.c
index 0899018..e289cb8 100644
--- a/sticky-notes/src/stickynotes.c
+++ b/sticky-notes/src/stickynotes.c
@@ -331,6 +331,7 @@ void stickynote_free(StickyNote *note)
gtk_widget_destroy(note->w_window);
g_free(note->color);
+ g_free(note->font_color);
g_free(note->font);
g_free(note);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]