I’m currently trying to use Zymkey on my Raspberry Pi which runs DietPi.
I tried integrating the C API into my application but it keeps giving me a segmentation fault.
I then compiled the following program using gcc -g -lzk_app_utils test.c
I then ran the program using valgrind ./test.out
And I got the following results:
==2450== in use at exit: 472 bytes in 14 blocks
==2450== total heap usage: 89 allocs, 75 frees, 23,537 bytes allocated
==2450== LEAK SUMMARY:
==2450== definitely lost: 40 bytes in 1 blocks
==2450== indirectly lost: 432 bytes in 13 blocks
==2450== possibly lost: 0 bytes in 0 blocks
==2450== still reachable: 0 bytes in 0 blocks
==2450== suppressed: 0 bytes in 0 blocks
Am I doing something wrongly or is there a problem with the library?