mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-15 00:44:25 +09:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user