]> Pileus Git - ~andy/gtk/commitdiff
Free mult_atoms here. (#317039, Paolo Borelli)
authorMatthias Clasen <mclasen@redhat.com>
Wed, 28 Sep 2005 20:42:30 +0000 (20:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 Sep 2005 20:42:30 +0000 (20:42 +0000)
2005-09-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms
here. (#317039, Paolo Borelli)

ChangeLog
ChangeLog.pre-2-10
gtk/gtkselection.c

index afa512a0f6b479b7504db25da0951ae4074d4495..3ade2ece23fedb44e80fd9ad629bf370d67879d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
index afa512a0f6b479b7504db25da0951ae4074d4495..3ade2ece23fedb44e80fd9ad629bf370d67879d7 100644 (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,
index 139a4567a9ea578b30a8e4809e9b89c604dabff6..d6fa64c2fad0ef16491796d721ef158264c824a2 100644 (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