diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-02-17 10:20:55 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-02-17 10:20:55 +0100 |
commit | f1a61c060ff1a89a7cf31dc56fa7b234f5ec7809 (patch) | |
tree | 93c1fdc4b3d8031432b725e69c18e4fcfe9bdecd | |
parent | 5fb3b8b43a2b7a2a86b583d87e6db70218c8bbea (diff) |
device: Clear the critical section source on destruction
-rw-r--r-- | libfprint/fp-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libfprint/fp-device.c b/libfprint/fp-device.c index 82f309e..23c7aae 100644 --- a/libfprint/fp-device.c +++ b/libfprint/fp-device.c @@ -225,6 +225,7 @@ fp_device_finalize (GObject *object) g_clear_pointer (&priv->current_idle_cancel_source, g_source_destroy); g_clear_pointer (&priv->current_task_idle_return_source, g_source_destroy); + g_clear_pointer (&priv->critical_section_flush_source, g_source_destroy); g_clear_pointer (&priv->device_id, g_free); g_clear_pointer (&priv->device_name, g_free); |