cursor-renderer-native: Free MetaCursorNativePrivate struct

Fix a small leak in native renderer.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/581


(cherry picked from commit b016ff29f6)
This commit is contained in:
Marco Trevisan (Treviño) 2019-05-17 19:46:33 +00:00 committed by Marco Trevisan
parent e356424282
commit 9b8a3fbaed

View File

@ -710,6 +710,7 @@ static void
cursor_priv_free (MetaCursorNativePrivate *cursor_priv) cursor_priv_free (MetaCursorNativePrivate *cursor_priv)
{ {
g_hash_table_destroy (cursor_priv->gpu_states); g_hash_table_destroy (cursor_priv->gpu_states);
g_free (cursor_priv);
} }
static MetaCursorNativePrivate * static MetaCursorNativePrivate *