Re: freeing text



On Tue, 24 Apr 2001 13:55:11 -0400 Damon Chaplin <damon ximian com> wrote:

> Or should we also document all functions where you don't have to free
> the returned value? e.g. 'The returned string should not be freed.'

You should!
Because freeing such a pointer would be dangerous.

Regards,
Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]