[mutter] cursor-renderer-native: Free MetaCursorNativePrivate struct
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cursor-renderer-native: Free MetaCursorNativePrivate struct
- Date: Mon, 27 May 2019 22:32:14 +0000 (UTC)
commit b016ff29f638b04d1a756b82c461563207083391
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri May 17 14:46:33 2019 -0500
cursor-renderer-native: Free MetaCursorNativePrivate struct
Fix a small leak in native renderer.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/581
src/backends/native/meta-cursor-renderer-native.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/backends/native/meta-cursor-renderer-native.c
b/src/backends/native/meta-cursor-renderer-native.c
index 44c3c5499..3df804140 100644
--- a/src/backends/native/meta-cursor-renderer-native.c
+++ b/src/backends/native/meta-cursor-renderer-native.c
@@ -823,6 +823,7 @@ static void
cursor_priv_free (MetaCursorNativePrivate *cursor_priv)
{
g_hash_table_destroy (cursor_priv->gpu_states);
+ g_free (cursor_priv);
}
static MetaCursorNativePrivate *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]