Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2016 15:55:34 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Ngie Cooper <ngie@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r309839 - head/sbin/camcontrol
Message-ID:  <76B56104-3592-46A3-920D-9F55353A8842@gmail.com>
In-Reply-To: <CANCZdfrmYvbyMP=pvR8PDhmOMDQibEyeVnyQuq8xn-uiz=cZsw@mail.gmail.com>
References:  <201612102326.uBANQZLE008552@repo.freebsd.org> <CANCZdfrmYvbyMP=pvR8PDhmOMDQibEyeVnyQuq8xn-uiz=cZsw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_7F40E1E1-9577-44EB-A04F-64DF1B924528
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Dec 10, 2016, at 15:53, Warner Losh <imp@bsdimp.com> wrote:
>=20
> Why not just unconditionally free them? You don't need to NULL them
> out. That would save a IMHO bogus macro.

Yeah, you=E2=80=99re right. I=E2=80=99m doing it out of habit to avoid =
access after free.
-Ngie

--Apple-Mail=_7F40E1E1-9577-44EB-A04F-64DF1B924528
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYTJX2AAoJEPWDqSZpMIYVLJQQAJXTUfo0W1/aFLmKf3SCl97i
7JhvFTXaghUzFFWe+ISHrDBK7hXSZLm1oZZssViNFIxZUANLcsdB0zFM7oc/wtOU
lAQ0wGAIIEpKWVCfpxuznSWlOiaJMkVEw7v8hgv8LNHFLIQv3Skv/2/4cKbyWTE+
98GKIHPgD4Bp3wexrhdgBYqyM4eQn3PV6GYH50eRy2PoKyvc6XGspUS2E2aiFkAt
ezkTBxuBC5MKRWqXPPPKGsdSfTJg1qNslCGCqnG4GF/RwJoHx58QZzdPJMGWGcVT
lolKBoYET8djnj2NEs3tayJAvXb9C6h14VRlJZH8vyM44fuG57gGkrWzDXxNrYEl
7HB0f2g9WAhOpIXSfBPxs1tdDXyFI079EPww9Xtp6apDOkG8WRSBsgS9VOuuK/br
2WoQPHhzWZJH1a95TfRPrZc7fm7BCDgPXKqmYWV8EURK5WknOSMdMPRSeHY/j996
kdUiho2MxnPpty0CwpjDhWm9gP/ZGDopaHUlNE0va7cRuAmVKsYc0rFNuckMFods
p7eTuoAjHsPV1Pr3zJW6rKbUVL/b/LY+H36GKePEuxEbmNBfKxj9R2G30VMV7J7C
ImjhmMxzZsi8Bx7+/RRZgOgZBd54x4XKjaGq4+3A1Jes4iYj4H3HaA9NdMYZYLcY
34sDfd2VO/D0ZK5BxxBb
=3KCq
-----END PGP SIGNATURE-----

--Apple-Mail=_7F40E1E1-9577-44EB-A04F-64DF1B924528--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76B56104-3592-46A3-920D-9F55353A8842>