Andrew Bartlett wrote: > On Wed, 2004-02-04 at 09:48, Stefan (metze) Metzmacher wrote: >>what is with a: >>if (binding) >> free(binding); > > > I should have checked the parametric interface, to see if it copied the > string, but if it does, I'll free it. Since free(NULL) is a no-op, why test if binding is NULL before calling free?