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 956bb80667
commit 41d28e254a

View File

@ -798,6 +798,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 *