[patch]: gnotes leak fix



Hi there...

A very small leak fix this time (the "type" string) for
gnome-applets/gnotes/gnote.c
Patch is attached.

=)
Peter
Index: gnote.c
===================================================================
RCS file: /cvs/gnome/gnome-applets/gnotes/gnote.c,v
retrieving revision 1.7
diff -u -r1.7 gnote.c
--- gnote.c	2000/02/06 21:08:47	1.7
+++ gnote.c	2000/02/12 06:21:42
@@ -553,6 +553,7 @@
 	    gtk_widget_destroy(GTK_WIDGET(the_note->menu));
     
     g_free(the_note->title);
+    g_free(the_note->type);
     g_ptr_array_remove(note_list, the_note);
     g_free(the_note);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]