summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
authorRui Caridade <[email protected]>2018-09-03 21:48:44 +0100
committerraveit65 <[email protected]>2018-09-10 18:40:20 +0200
commit246f078f4927595429878c4c662ac0e03580af65 (patch)
treeeaa92500e9335db46eded057111a3a0d33a27db5 /stickynotes
parentebabac90eea0ad01a4ae8889ea56e74be806755d (diff)
downloadmate-applets-246f078f4927595429878c4c662ac0e03580af65.tar.bz2
mate-applets-246f078f4927595429878c4c662ac0e03580af65.tar.xz
sticky-notes: fix a memory leak
origin commit: https://github.com/GNOME/gnome-applets/commit/f04777973b37265ca9e034421996f16d64853ee2
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/stickynotes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index 50d0f83a..f71577b0 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -317,6 +317,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);