Date: Mon, 4 Jan 1999 15:41:47 -0000 From: "Steven Hartland" <steven_hartland@pa.press.net> To: <freebsd-bugs@FreeBSD.ORG> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Possible bug in libkvm Message-ID: <015c01be37f8$bd817e70$b475b290@darkstar.panews.press.net>
next in thread | raw e-mail | index | archive | help
I've been using libkvm to do some stuff recently and I think I may have found
a fairly large memory leak.
On calling kvm_getarvgs the memory allocated for the args doesn't seem to get
freed. Looking at the code and the man pages it is ment to be freed up on
kvm_close. This does indeed free kd->argv but doesn't free either kd->argspc
or kd->argbuf which are also allocated by kvm_argv.
Steve
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015c01be37f8$bd817e70$b475b290>
