25 lines
797 B
Diff
25 lines
797 B
Diff
From 39f9257773aef96b5be544795c07ff9b355de08f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
|
|
Date: Tue, 26 Nov 2019 20:33:56 +0100
|
|
Subject: [PATCH 039/181] fp-print: Unref the prints on finalize
|
|
|
|
---
|
|
libfprint/fp-print.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/libfprint/fp-print.c b/libfprint/fp-print.c
|
|
index 39c5c0a..776fc71 100644
|
|
--- a/libfprint/fp-print.c
|
|
+++ b/libfprint/fp-print.c
|
|
@@ -101,6 +101,7 @@ fp_print_finalize (GObject *object)
|
|
g_clear_pointer (&self->description, g_free);
|
|
g_clear_pointer (&self->enroll_date, g_date_free);
|
|
g_clear_pointer (&self->data, g_variant_unref);
|
|
+ g_clear_pointer (&self->prints, g_ptr_array_unref);
|
|
|
|
G_OBJECT_CLASS (fp_print_parent_class)->finalize (object);
|
|
}
|
|
--
|
|
2.24.1
|
|
|