mindex.c

In-memory ordered store and fetch library
git clone git://git.finwo.net/lib/mindex.c
Log | Files | Refs | README | LICENSE

commit 20f3be9378ed0f899b24cd815970ae462b2e558b
parent aa8f2b06aabaa472ea1a87df14ce2a06df335947
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Thu,  2 Mar 2023 22:25:49 +0100

Added usage of mindex_free to poke for a segfault

Diffstat:
Mtest.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test.c b/test.c @@ -49,6 +49,8 @@ void test_mindex_basics() { found = mindex_get(mindex, test_a01); ASSERT("Overridden get by new returns new", found == test_a01); + + mindex_free(mindex); } int main() {