Re: string return result conventions



> ok - can i ask people a favour?  could you kindly review e.g.... this:
>     http://lkcl.net/webkit/DerivedSources/GdomAttr.cpp

> just looking at it myself, i think where i use fromUTF8 i have a
> memory leak,

 ... but after looking at it again i don't think i have..

> there, but key question: in the use of
> g_value_set_string() - that "takes over" the memory passed in to it,
> right?

 ... i should be using g_value_take_string(), shouldn't i?


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