Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2024 06:56:13 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Enji Cooper <yaneurabeya@gmail.com>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "dev-commits-src-all@freebsd.org" <dev-commits-src-all@freebsd.org>,  "dev-commits-src-main@freebsd.org" <dev-commits-src-main@freebsd.org>
Subject:   Re: git: 8bae22bbbe65 - main - fusefs: prefer new/delete over malloc/free
Message-ID:  <CAOtMX2j8mn1mRh0HzqS_uL5zuDKhXsgLvBRR5h1PX_fuEo3FtQ@mail.gmail.com>
In-Reply-To: <8F36170D-9592-46D5-A275-12E24C3A13D8@gmail.com>
References:  <202401172250.40HMo4O9003460@gitrepo.freebsd.org> <8F36170D-9592-46D5-A275-12E24C3A13D8@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 18, 2024 at 10:32=E2=80=AFPM Enji Cooper <yaneurabeya@gmail.com=
> wrote:
>
>
> > On Jan 17, 2024, at 2:50=E2=80=AFPM, Alan Somers <asomers@FreeBSD.org> =
wrote:
> >
> > The branch main has been updated by asomers:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=3D8bae22bbbe6571da9259e0d4=
3ffa8a56f4b3e171
> >
> > commit 8bae22bbbe6571da9259e0d43ffa8a56f4b3e171
> > Author:     Alan Somers <asomers@FreeBSD.org>
> > AuthorDate: 2024-01-15 23:49:47 +0000
> > Commit:     Alan Somers <asomers@FreeBSD.org>
> > CommitDate: 2024-01-17 22:49:41 +0000
> >
> >    fusefs: prefer new/delete over malloc/free
> >
> >    MFC after:      2 weeks
> >    Reviewed by:    kib
> >    Differential Revision: https://reviews.freebsd.org/D43464
>
> Why not use smart pointers instead?
> -Enji

Only because this stuff all evolved from C code.  Smart pointers would
certainly work.



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