Introduction

Containers in container-collection-for-c are all weak containers if you store pointers in them. Which means they do NOT free those pointers when the container got deleted.

Tools

Use drmemory to check (potential) memory leaks.

If you are on Linux, you can also use valgrind

For example:

make MEMCHECK=1 build/cc_list_test_1