[269] in Hesiod

home help back first fref pref prev next nref lref last post

to free or not to free

daemon@ATHENA.MIT.EDU (Todd C. Miller)
Mon May 22 21:09:50 1995

To: hesiod@MIT.EDU
Reply-To: Todd.Miller@cs.colorado.edu
Date: Mon, 22 May 1995 19:07:48 -0600
From: "Todd C. Miller" <Todd.Miller@cs.colorado.edu>


In looking at other code that uses hesiod it seems that people
are freeing the buffer returned by hes_resolve().  Now, in the
source on athena-dist the buffer is static and should not be free(3)'d.
Are there other hesiod implementations that do use a dynamically
allocated buffer?  If so, is there any real way of telling which
implementation you are dealing with?

 - todd

home help back first fref pref prev next nref lref last post