libfprint/SOURCES/0068-fp-print-Clear-the-data-not-the-description-when-set.patch
2021-09-09 20:12:48 +00:00

27 lines
801 B
Diff

From d8b15d9c655d329ccb91d0d6b31e6109651a1af6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Tue, 3 Dec 2019 19:53:19 +0100
Subject: [PATCH 068/181] fp-print: Clear the data not the description when
setting the property
---
libfprint/fp-print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libfprint/fp-print.c b/libfprint/fp-print.c
index ddf8747..e7b119a 100644
--- a/libfprint/fp-print.c
+++ b/libfprint/fp-print.c
@@ -207,7 +207,7 @@ fp_print_set_property (GObject *object,
break;
case PROP_FPI_DATA:
- g_clear_pointer (&self->description, g_variant_unref);
+ g_clear_pointer (&self->data, g_variant_unref);
self->data = g_value_dup_variant (value);
break;
--
2.24.1