Subject: Re: patch for memory leak
To: Ted U <grendel@heorot.stanford.edu>
From: Federico Schwindt <fgsch@openbsd.org>
List: tech-kern
Date: 05/03/2001 14:17:54
On Thu, May 03, 2001 at 12:32:28AM -0700, Ted U wrote:
> following is a patch that fixes 3 occurences of realloc in BSD kernels
> that could result in a memory leak. if realloc returns null, then the
> previously held memory is not freed. the affected areas are ipfilter and
> usb audio.
The ipfilter leak in OpenBSD, it's actually in userland, not in the
kernel. Same should apply for NetBSD.
f.-