Skip to content

Commit 3a180b2

Browse files
authored
Platform: fix a memory leak (#1716)
1 parent 02ab58e commit 3a180b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/platform/FFPlatform.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ void ffPlatformDestroy(FFPlatform* platform)
4949
ffStrbufDestroy(&platform->userName);
5050
ffStrbufDestroy(&platform->hostName);
5151
ffStrbufDestroy(&platform->userShell);
52+
ffStrbufDestroy(&platform->fullUserName);
5253

5354
FFPlatformSysinfo* info = &platform->sysinfo;
5455
ffStrbufDestroy(&info->architecture);

0 commit comments

Comments
 (0)