MetaDisplay: free the wayland windows table at close

Like we do for the XID table.

https://bugzilla.gnome.org/show_bug.cgi?id=729732
This commit is contained in:
Giovanni Campagna 2014-05-07 18:24:43 +02:00
parent aed671810c
commit 1427d20922

View File

@ -1003,6 +1003,7 @@ meta_display_close (MetaDisplay *display,
* unregister windows
*/
g_hash_table_destroy (display->xids);
g_hash_table_destroy (display->wayland_windows);
if (display->leader_window != None)
XDestroyWindow (display->xdisplay, display->leader_window);