#include <fontconfig.h>
void FcDirCacheUnload(FcCache *cache);
void FcDirCacheUnload
This function dereferences cache. When no other references to it remain, all memory associated with the cache will be freed.
Fontconfig version 2.8.0