Re: what to g_free and what to not.



On Monday, August 21, 2000 at 11:33, Owen Taylor wrote:
> > 
> > It's only the functions that return gchar* that I have checked. There
> > are others (for example those that retur gchar**) which need to checked
> > too.
> 
> It's a known, much debated, issue. We certainly can't start
> changing the existing functions to behave differently! So the
> question is coming up with some sort of solution that allows
> us to have a consistent way of doing things in the future.

So the solution for me right now is to check every function returning
a gchar*? I'm willing to do that, if it has not been done already,
and if the result (a list of functions and if they dup or not) was
made part of the GTK documentation.

Oskar Liljeblad (osk@hem.passagen.se)





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