Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 15:52:48 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Bitstring(9) in kernel.
Message-ID:  <xzpish6f9hb.fsf@dwp.des.no>
In-Reply-To: <20040315143123.GB8930@darkness.comp.waw.pl> (Pawel Jakub Dawidek's message of "Mon, 15 Mar 2004 15:31:23 %2B0100")
References:  <20040315143123.GB8930@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> Ok, bitstring(9) is broken for kernel use atm, because leak of calloc()
> function. What we should do about it?

No, it isn't broken.  You just have to use bitstr_size() to figure out
how much space it needs and do the alloc yourself.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpish6f9hb.fsf>