diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-10-03 01:03:04 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-10-03 19:18:25 +0200 |
commit | d520199e620427aa99c3911c77324ea8c8f88a29 (patch) | |
tree | a788e86b1b4dea80d73d75a3c05d44c7d9d73678 | |
parent | 9d8d87e1d5b1311975f0d1af78eabfad65611577 (diff) |
Memory leak on NetBSD when querying full command line
-rw-r--r-- | netbsd/NetBSDProcessList.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/netbsd/NetBSDProcessList.c b/netbsd/NetBSDProcessList.c index 8e8aabb1..379a491b 100644 --- a/netbsd/NetBSDProcessList.c +++ b/netbsd/NetBSDProcessList.c @@ -247,6 +247,8 @@ static void NetBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_pr } Process_updateCmdline(proc, s, start, end); + + free(s); } /* |