upekts: Fix memory leak

Don't allocate a new finger print structure,
the fpi_device_get_enroll_data() just below will overwrite it.
This commit is contained in:
Bastien Nocera
2020-04-15 15:51:51 +02:00
committed by Marco Trevisan (Treviño)
parent 3722c875ec
commit 72115bff04
-1
View File
@@ -1119,7 +1119,6 @@ e_handle_resp02 (FpDevice *dev, unsigned char *data,
else
{
GVariant *fp_data;
print = fp_print_new (dev);
fpi_device_get_enroll_data (dev, &print);