Re: string return result conventions
- From: "Luke Kenneth Casson Leighton" <lkcl lkcl net>
- To: "Owen Taylor" <otaylor redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: string return result conventions
- Date: Mon, 15 Sep 2008 18:05:56 +0000
> 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]