Platform: fix a memory leak (#1716)

This commit is contained in:
apocelipes
2025-04-28 22:49:31 +08:00
committed by GitHub
parent 02ab58e001
commit 3a180b24e3
+1
View File
@@ -49,6 +49,7 @@ void ffPlatformDestroy(FFPlatform* platform)
ffStrbufDestroy(&platform->userName);
ffStrbufDestroy(&platform->hostName);
ffStrbufDestroy(&platform->userShell);
ffStrbufDestroy(&platform->fullUserName);
FFPlatformSysinfo* info = &platform->sysinfo;
ffStrbufDestroy(&info->architecture);