mirror of https://github.com/xzeldon/htop.git
Memory leak on NetBSD when querying full command line
This commit is contained in:
parent
9d8d87e1d5
commit
d520199e62
|
@ -247,6 +247,8 @@ static void NetBSDProcessList_updateProcessName(kvm_t* kd, const struct kinfo_pr
|
||||||
}
|
}
|
||||||
|
|
||||||
Process_updateCmdline(proc, s, start, end);
|
Process_updateCmdline(proc, s, start, end);
|
||||||
|
|
||||||
|
free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue