From 115784bb38285111fa44de6e5d4935af3d70be57 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Sep 2005 20:43:28 +0000 Subject: [PATCH] Free mult_atoms here. (#317039, Paolo Borelli) 2005-09-28 Matthias Clasen * gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms here. (#317039, Paolo Borelli) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ gtk/gtkselection.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index fda6a4885b..94a510602c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-09-28 Matthias Clasen + * 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, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fda6a4885b..94a510602c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-09-28 Matthias Clasen + * 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, diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index cb5e872ca2..fdbd0722b1 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -1831,6 +1831,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