forked from AuroraMiddleware/gtk
Fix memory leak in gtk_window_group_list_windows
This commit is contained in:
parent
234b3b2c6f
commit
cb0fac73a5
@ -8358,6 +8358,8 @@ gtk_window_group_list_windows (GtkWindowGroup *window_group)
|
|||||||
group_windows = g_list_prepend (group_windows, window);
|
group_windows = g_list_prepend (group_windows, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_list_free (toplevels);
|
||||||
|
|
||||||
return g_list_reverse (group_windows);
|
return g_list_reverse (group_windows);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user