Tiny C library to reduce dangling pointer errors.