[fprint] Cancel the enrolling process and memory leak?
Pavel M.
admin at akia.se
Fri Apr 30 17:26:48 BST 2010
Hello,
How can I cancel the enrolling process executed by fp_enroll_finger
(struct fp_dev *dev, struct fp_print_data **print_data) ? Do I have to
create a thread and terminate it every time I want to cancel the
enrolling? It doesn't sound to be the best solution to me because such
terminating usually is unsafe. I can't find any information about it in
the libfprint's documentation except "Synchronity/asynchronity". If I
understand it right the fprint_demo and other applications using the
libfprint work unfortunately in that way.
I wonder also why fp_enroll_finger(...) is consuming so much memory?
When the fprint_demo is waiting for an enrollment it's leaking about 100
kB RAM per second. When I open the fprint_demo it takes about 5MB RAM
but when I start the enrolling process by pressing "Enroll" but don't
enroll my fingerprint the application's memory consumption increases
after some minutes to more than 40 MB a and continues to increase until
I scan the fingerprint or exit the application. Is something wrong with
my driver, scanner(AuthenTec AES1610) or the libfprint?
Thanks in advance for your help!
Pavel M.
More information about the fprint
mailing list