From d1a3c8dc1f1b01fb9c396e07edd77aa8532105ca Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 28 Sep 2005 20:42:30 +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 afa512a0f6..3ade2ece23 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 afa512a0f6..3ade2ece23 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 139a4567a9..d6fa64c2fa 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -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