mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
committed by
Benjamin Berg
parent
b3c5fe4b82
commit
8f46de0a60
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user