Free mult_atoms here. (#317039, Paolo Borelli)

2005-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms
	here. (#317039, Paolo Borelli)
This commit is contained in:
Matthias Clasen 2005-09-28 20:42:30 +00:00 committed by Matthias Clasen
parent f5b53f1359
commit d1a3c8dc1f
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-09-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms
here. (#317039, Paolo Borelli)
* gtk/gtktexttag.h:
* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
to make this function work as boxed copy function. (#317455,

View File

@ -1,5 +1,8 @@
2005-09-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms
here. (#317039, Paolo Borelli)
* gtk/gtktexttag.h:
* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
to make this function work as boxed copy function. (#317455,

View File

@ -1953,6 +1953,8 @@ _gtk_selection_request (GtkWidget *widget,
info->conversions[i].property = gdk_x11_xatom_to_atom_for_display (display,
((glong *)mult_atoms)[2*i + 1]);
}
g_free (mult_atoms);
}
else
#endif