mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
compat: Use new GDate autoptr and define if needed
This commit is contained in:
committed by
Benjamin Berg
parent
cfbd5d27b7
commit
5faf8498d9
@@ -753,8 +753,8 @@ fp_print_deserialize (const guchar *data,
|
||||
g_autoptr(GVariant) raw_value = NULL;
|
||||
g_autoptr(GVariant) value = NULL;
|
||||
g_autoptr(GVariant) print_data = NULL;
|
||||
g_autoptr(GDate) date = NULL;
|
||||
guchar *aligned_data = NULL;
|
||||
GDate *date = NULL;
|
||||
guint8 finger_int8;
|
||||
FpFinger finger;
|
||||
g_autofree gchar *username = NULL;
|
||||
@@ -882,8 +882,6 @@ fp_print_deserialize (const guchar *data,
|
||||
"enroll_date", date,
|
||||
NULL);
|
||||
|
||||
g_date_free (date);
|
||||
|
||||
return g_steal_pointer (&result);
|
||||
|
||||
invalid_format:
|
||||
|
||||
Reference in New Issue
Block a user