[patch]: gnotes leak fix
- From: Peter Hawkins <peterhawkins ozemail com au>
- To: gnome-list gnome org
- Subject: [patch]: gnotes leak fix
- Date: Sat, 12 Feb 2000 06:23:34 +0000
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]