#include <fontconfig.h> void FcConfigDestroy(FcConfig *config); .fi
Decrements the config reference count. If all references are gone, destroys the configuration and any data associated with it. Note that calling this function with the return from FcConfigGetCurrent will cause a new configuration to be created for use as current configuration.
Fontconfig version 2.8.0