need to free string returned by cf_section_value_find ?

Alan DeKok aland at ox.org
Thu Mar 30 07:46:26 CEST 2006


jasonatx0001 <jasonatx0001 at yahoo.com> wrote:
> Is the caller responsible for freeing the memory pointed to by the return
> value from cf_section_value_find ? Or does this just point to the memory
> owned by the conf_section which free radius will free on its own ?

  It returns a pointer to the data owned by the configuration file
reader.  Freeing it will be bad...

  Alan DeKok.




More information about the Freeradius-Users mailing list