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:
parent
b3c5fe4b82
commit
8f46de0a60
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue