Memory pool library with hierarchical allocation and destructors
Hierarchical, reference-counted memory pool with destructors
talloc
$ talloc --version
$ man talloc
$ pkg-config --cflags --libs talloc