upekts: Fix reference counting in do_enroll_stop

The print passed to do_enroll_stop does not need to be ref'ed in the
function.
This commit is contained in:
Benjamin Berg 2020-05-07 18:51:53 +02:00 committed by Benjamin Berg
parent b3c5fe4b82
commit 8f46de0a60

View file

@ -994,7 +994,7 @@ do_enroll_stop (FpDevice *dev, FpPrint *print, GError *error)
EnrollStopData *data = g_new0 (EnrollStopData, 1);
FpiSsm *ssm = deinitsm_new (dev, data);
data->print = g_object_ref (print);
data->print = print;
data->error = error;
fpi_ssm_start (ssm, enroll_stop_deinit_cb);