clutter-input-device-xi2: Check for null group_modes before unref
This commit is contained in:
parent
62c67be4c8
commit
2a45b7de7c
@ -110,6 +110,7 @@ clutter_input_device_xi2_finalize (GObject *object)
|
|||||||
if (device_xi2->wacom_device)
|
if (device_xi2->wacom_device)
|
||||||
libwacom_destroy (device_xi2->wacom_device);
|
libwacom_destroy (device_xi2->wacom_device);
|
||||||
|
|
||||||
|
if (device_xi2->group_modes)
|
||||||
g_array_unref (device_xi2->group_modes);
|
g_array_unref (device_xi2->group_modes);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user