From owner-cvs-all Thu Jul 20 9:45:11 2000 Delivered-To: cvs-all@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 021BC37BB26; Thu, 20 Jul 2000 09:44:55 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.15 #1) id 13FJR3-0001VC-00; Thu, 20 Jul 2000 18:44:33 +0200 From: Sheldon Hearn To: Brian Somers Cc: Jordan Hubbard , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Brian Somers , shin@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/net rcmd.3 rcmd.c In-reply-to: Your message of "Thu, 20 Jul 2000 17:31:16 +0100." <200007201631.RAA03447@hak.lan.Awfulhak.org> Date: Thu, 20 Jul 2000 18:44:33 +0200 Message-ID: <5777.964111473@axl.ops.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 Jul 2000 17:31:16 +0100, Brian Somers wrote: > The don't set *ahost to NULL, it remains pointing to the free()d > memory :-( Can you set it to NULL immediately following the free()? I can't think of any reasons why this would be bad. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message