aboutsummaryrefslogtreecommitdiffstats
path: root/netbsd/NetBSDProcessList.c
diff options
context:
space:
mode:
Diffstat (limited to 'netbsd/NetBSDProcessList.c')
-rw-r--r--netbsd/NetBSDProcessList.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/netbsd/NetBSDProcessList.c b/netbsd/NetBSDProcessList.c
index 8452050..379a491 100644
--- a/netbsd/NetBSDProcessList.c
+++ b/netbsd/NetBSDProcessList.c
@@ -4,7 +4,7 @@ htop - NetBSDProcessList.c
(C) 2015 Michael McConville
(C) 2021 Santhosh Raju
(C) 2021 htop dev team
-Released under the GNU GPLv2, see the COPYING file
+Released under the GNU GPLv2+, see the COPYING file
in the source distribution for its full text.
*/
@@ -247,6 +247,8 @@ static void NetBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_pr
}
Process_updateCmdline(proc, s, start, end);
+
+ free(s);
}
/*

© 2014-2024 Faster IT GmbH | imprint | privacy policy