mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Free children in all cases. (#313862, Kjartan Maraas)
2005-08-19 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free children in all cases. (#313862, Kjartan Maraas)
This commit is contained in:
parent
d1ab2bf3d5
commit
ba8fd4b9e2
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
|
||||
children in all cases. (#313862, Kjartan Maraas)
|
||||
|
||||
* gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs
|
||||
in the per-directory hash, even if they come from the icon cache.
|
||||
We tried to avoid that before, but as a result leaked icon data
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
|
||||
children in all cases. (#313862, Kjartan Maraas)
|
||||
|
||||
* gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs
|
||||
in the per-directory hash, even if they come from the icon cache.
|
||||
We tried to avoid that before, but as a result leaked icon data
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
|
||||
children in all cases. (#313862, Kjartan Maraas)
|
||||
|
||||
* gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs
|
||||
in the per-directory hash, even if they come from the icon cache.
|
||||
We tried to avoid that before, but as a result leaked icon data
|
||||
|
@ -548,7 +548,11 @@ get_client_window_at_coords_recurse (GdkDisplay *display,
|
||||
return None;
|
||||
|
||||
if (has_wm_state)
|
||||
return win;
|
||||
{
|
||||
g_free (children);
|
||||
|
||||
return win;
|
||||
}
|
||||
|
||||
for (i = nchildren - 1; (i >= 0) && !found_child; i--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user