src/utils_cache.c: Fix two memory leaks.