diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-10-03 01:03:17 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-10-03 19:18:25 +0200 |
commit | f75a8bc3a1131151181d6794000b10063400221e (patch) | |
tree | 504402496363c10d4ebaee21603d8159782ddebe | |
parent | d520199e620427aa99c3911c77324ea8c8f88a29 (diff) |
Memory leak on OpenBSD when querying full command line
-rw-r--r-- | openbsd/OpenBSDProcessList.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd/OpenBSDProcessList.c b/openbsd/OpenBSDProcessList.c index a89303ac..476af61d 100644 --- a/openbsd/OpenBSDProcessList.c +++ b/openbsd/OpenBSDProcessList.c @@ -255,6 +255,8 @@ static void OpenBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_p } Process_updateCmdline(proc, s, start, end); + + free(s); } /* |