diff --git a/libfprint/drivers/elanmoc/elanmoc.c b/libfprint/drivers/elanmoc/elanmoc.c index 447182f..aef386c 100644 --- a/libfprint/drivers/elanmoc/elanmoc.c +++ b/libfprint/drivers/elanmoc/elanmoc.c @@ -806,7 +806,7 @@ elanmoc_enroll (FpDevice *device) FpPrint *print = NULL; GVariant *data = NULL; GVariant *uid = NULL; - g_autofree gchar *user_id; + g_autofree gchar *user_id = NULL; gsize user_id_len; guint8 *userdata = g_malloc0 (ELAN_USERDATE_SIZE);