FFPlatform: fix memleaks

This commit is contained in:
李通洲 committed 2023-01-16 00:35:48 +08:00
1 parent 1c93d68e7b
commit d4ecbc6638
1 file changed
+5
+5
View File
@@ -66,6 +66,11 @@ void ffPlatformDestroy(FFPlatform* platform)
ffStrbufDestroy(&platform->hostName);
ffStrbufDestroy(&platform->domainName);
ffStrbufDestroy(&platform->userShell);
ffStrbufDestroy(&platform->systemArchitecture);
ffStrbufDestroy(&platform->systemName);
ffStrbufDestroy(&platform->systemRelease);
ffStrbufDestroy(&platform->systemVersion);
}
void ffPlatformPathAddAbsolute(FFlist* dirs, const char* path)