Free the translate queue when closing a display

Not that many people are ever going to hit this.
https://bugzilla.gnome.org/show_bug.cgi?id=645236
This commit is contained in:
Matthias Clasen
2011-04-08 21:34:25 -04:00
parent 9e6d3d969c
commit fbf1093d5c
3 changed files with 18 additions and 0 deletions

View File

@ -1729,6 +1729,9 @@ gdk_x11_display_finalize (GObject *object)
_gdk_x11_cursor_display_finalize (GDK_DISPLAY (display_x11));
/* Empty the event queue */
_gdk_x11_display_free_translate_queue (GDK_DISPLAY (display_x11));
/* Atom Hashtable */
g_hash_table_destroy (display_x11->atom_from_virtual);
g_hash_table_destroy (display_x11->atom_to_virtual);