summaryrefslogtreecommitdiff
path: root/unittest/test_memory.c
Commit message (Collapse)AuthorAge
* Add missing free functions to C APIRobin Krahl2020-04-02
| | | | | | | | This patch adds two missing free functions, NK_free_config and NK_free_password_safe_slot_status, to enable memory-safe use of the C API. Fixes #173.
* Add test_memory test caseRobin Krahl2020-04-02
This patch adds a test_memory test case that demonstrates new[]/free mismatches with the NK_read_config and NK_get_password_safe_slot_status functions if run with valgrind, see #173.