Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 18:44:33 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Jordan Hubbard <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Brian Somers <brian@FreeBSD.org>, shin@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/net rcmd.3 rcmd.c 
Message-ID:  <5777.964111473@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Thu, 20 Jul 2000 17:31:16 %2B0100." <200007201631.RAA03447@hak.lan.Awfulhak.org> 

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


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




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