Date: Fri, 11 Mar 2022 09:56:29 -0500 From: Ed Maste <emaste@freebsd.org> To: Hans Petter Selasky <hps@selasky.org> Cc: Mateusz Piotrowski <0mp@freebsd.org>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org Subject: Re: git: 419822b372f5 - main - libgeom(3): Use calloc instead of malloc and bzero. Message-ID: <CAPyFy2BnMXY4xh2R2vDoYtb4Dhb720-k3iDnR4R528tkj9_SMw@mail.gmail.com> In-Reply-To: <a55f8a81-7897-6f6d-68fe-de41a733dce2@selasky.org> References: <202203110942.22B9guNt032463@gitrepo.freebsd.org> <4eaba9f4-7cd6-5af3-d745-97932501a2fc@FreeBSD.org> <a55f8a81-7897-6f6d-68fe-de41a733dce2@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Mar 2022 at 06:10, Hans Petter Selasky <hps@selasky.org> wrote: > > I don't see any issues converting malloc, memset/bzero sequences, as > long as they zero the full memory area allocated. In case someone starts picking up more of these, the more usual way to write it is "calloc(1, size)"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BnMXY4xh2R2vDoYtb4Dhb720-k3iDnR4R528tkj9_SMw>