This commit is contained in:
Felix 2024-11-24 18:10:08 +01:00 committed by Xelef2000
parent e5b86cbec1
commit fe19b43660

View file

@ -636,9 +636,10 @@ crfpmoc_enroll_run_state (FpiSsm *ssm, FpDevice *device)
GError *serror = NULL;
struct crfpmoc_ec_response_fp_info info;
guint8 *frame = NULL;
crfpmoc_fp_download_frame(self, &info, enrolled_templates-1, &frame ,&serror);
if (!frame) {
gboolean res = crfpmoc_fp_download_frame(self, &info, enrolled_templates-1, &frame ,&serror);
if (!res) {
g_warning("Failed to download frame: %s", serror->message);
g_clear_error(&serror);
} else {