mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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
This commit is contained in:
parent
4ebfe1f1fb
commit
cf909ca006
@ -1,3 +1,8 @@
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user