Platform: fix a memory leak (#782)
This commit is contained in:
1 parent
e16f8ef349
commit
67564dfa2c
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user