mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00: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
|
else
|
||||||
{
|
{
|
||||||
GVariant *fp_data;
|
GVariant *fp_data;
|
||||||
print = fp_print_new (dev);
|
|
||||||
|
|
||||||
fpi_device_get_enroll_data (dev, &print);
|
fpi_device_get_enroll_data (dev, &print);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user