Commit cf909ca0 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Plug memory leaks. (#396160, Carlos Garcia Campos)

2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (_gtk_selection_request): Plug
        memory leaks.  (#396160, Carlos Garcia Campos)



svn path=/trunk/; revision=17145
parent 4ebfe1f1
2007-01-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (_gtk_selection_request): Plug
memory leaks. (#396160, Carlos Garcia Campos)
2007-01-13 Matthias Clasen <mclasen@redhat.com>
* configure.in: Link libgtk against Xfixes. (#396074,
......
......@@ -2132,6 +2132,7 @@ _gtk_selection_request (GtkWidget *widget,
event->time);
g_free (mult_atoms);
g_free (info);
gdk_error_trap_pop ();
return TRUE;
}
gdk_error_trap_pop ();
......@@ -2168,6 +2169,8 @@ _gtk_selection_request (GtkWidget *widget,
info->conversions[i].target = ((GdkAtom *)mult_atoms)[2*i];
info->conversions[i].property = ((GdkAtom *)mult_atoms)[2*i+1];
}
g_free (mult_atoms);
}
}
else /* only a single conversion */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment