need to free string returned by cf_section_value_find ?
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 ? -- View this message in context: http://www.nabble.com/need-to-free-string-returned-by-cf_section_value_find-... Sent from the FreeRadius - User forum at Nabble.com.
jasonatx0001 <jasonatx0001@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.
participants (2)
-
Alan DeKok -
jasonatx0001