Fix some more memory leaks.

Thu Jan  7 12:31:41 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_unref): Fix some
	more memory leaks.
This commit is contained in:
Owen Taylor 1999-01-07 20:17:15 +00:00 committed by Owen Taylor
parent f28c909c58
commit bedab705f2
8 changed files with 67 additions and 2 deletions

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -1,9 +1,18 @@
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Wed Jan 06 10:04:12 1999 Tristan Tarrant <ttarrant@etnoteam.it>
* configure.in,po/it.po: added Italian translations
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the

View File

@ -179,11 +179,13 @@ gtk_target_list_unref (GtkTargetList *list)
GList *tmp_list = list->list;
while (tmp_list)
{
GtkTargetEntry *entry = tmp_list->data;
g_free (entry);
GtkTargetPair *pair = tmp_list->data;
g_free (pair);
tmp_list = tmp_list->next;
}
g_list_free (list->list);
g_free (list);
}
}