diff --git a/src/util/platform/FFPlatform.c b/src/util/platform/FFPlatform.c index b81adc3c6a..8ce979044e 100644 --- a/src/util/platform/FFPlatform.c +++ b/src/util/platform/FFPlatform.c @@ -52,6 +52,7 @@ void ffPlatformDestroy(FFPlatform* platform) FF_LIST_FOR_EACH(FFstrbuf, dir, platform->dataDirs) ffStrbufDestroy(dir); ffListDestroy(&platform->dataDirs); + ffStrbufDestroy(&platform->exePath); ffStrbufDestroy(&platform->userName); ffStrbufDestroy(&platform->hostName);