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