From owner-freebsd-bugs Mon Jan 4 07:43:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA27599 for freebsd-bugs-outgoing; Mon, 4 Jan 1999 07:43:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from sun.panews.press.net (sun.panews.press.net [144.178.102.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA27594; Mon, 4 Jan 1999 07:43:02 -0800 (PST) (envelope-from steven_hartland@pa.press.net) Received: from darkstar.panews.press.net by sun.panews.press.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1458.49) id Y5H7APF9; Mon, 4 Jan 1999 15:44:53 -0000 Message-ID: <015c01be37f8$bd817e70$b475b290@darkstar.panews.press.net> From: "Steven Hartland" To: Cc: Subject: Possible bug in libkvm Date: Mon, 4 Jan 1999 15:41:47 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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-bugs" in the body of the message