Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
sticky-notes: fix a memory leak
  • Loading branch information
rcaridade145 authored and raveit65 committed Sep 10, 2018
1 parent ebabac9 commit 246f078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stickynotes/stickynotes.c
Expand Up @@ -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);
Expand Down

0 comments on commit 246f078

Please sign in to comment.