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:
committed by
Matthias Clasen
parent
d1ab2bf3d5
commit
ba8fd4b9e2
@ -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--)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user