|
@@ -0,0 +1,39 @@
+--- ./libfprint/drivers/aes2550.c.orig 2012-12-22 21:15:04.992122225 +0100
++++ ./libfprint/drivers/aes2550.c 2012-12-22 21:22:10.184123249 +0100
+@@ -252,7 +252,9 @@
+ aesdev->strips = g_slist_reverse(aesdev->strips);
+ img = aes_assemble(aesdev->strips, aesdev->strips_len,
+ FRAME_WIDTH, FRAME_HEIGHT);
+- g_slist_free_full(aesdev->strips, g_free);
++ /* g_slist_free_full(aesdev->strips, g_free); */
++ g_slist_foreach (aesdev->strips,(GFunc) g_free, NULL);
++ g_slist_free (aesdev->strips);
+ aesdev->strips = NULL;
+ aesdev->strips_len = 0;
+ fpi_imgdev_image_captured(dev, img);
+--- ./libfprint/drivers/aes2501.c.orig 2012-12-22 21:15:04.992122225 +0100
++++ ./libfprint/drivers/aes2501.c 2012-12-22 21:21:36.464119126 +0100
+@@ -485,7 +485,9 @@
+ aesdev->strips = g_slist_reverse(aesdev->strips);
+ img = aes_assemble(aesdev->strips, aesdev->strips_len,
+ FRAME_WIDTH, FRAME_HEIGHT);
+- g_slist_free_full(aesdev->strips, g_free);
++ /* g_slist_free_full(aesdev->strips, g_free); */
++ g_slist_foreach (aesdev->strips,(GFunc) g_free, NULL);
++ g_slist_free (aesdev->strips);
+ aesdev->strips = NULL;
+ aesdev->strips_len = 0;
+ fpi_imgdev_image_captured(dev, img);
+--- ./libfprint/drivers/aes1610.c.orig 2012-12-22 21:15:04.988122241 +0100
++++ ./libfprint/drivers/aes1610.c 2012-12-22 21:21:03.296118119 +0100
+@@ -616,7 +616,9 @@
+ aesdev->strips = g_slist_reverse(aesdev->strips);
+ img = aes_assemble(aesdev->strips, aesdev->strips_len,
+ FRAME_WIDTH, FRAME_HEIGHT);
+- g_slist_free_full(aesdev->strips, g_free);
++ /* g_slist_free_full(aesdev->strips, g_free); */
++ g_slist_foreach (aesdev->strips,(GFunc) g_free, NULL);
++ g_slist_free (aesdev->strips);
+ aesdev->strips = NULL;
+ aesdev->strips_len = 0;
+ aesdev->blanks_count = 0;
|