Re: Is this a memory leak?
- From: David Nečas <yeti physics muni cz>
- To: Traktor Toni <trustthesky googlemail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: Is this a memory leak?
- Date: Mon, 14 Nov 2011 20:19:28 +0100
On Wed, Nov 09, 2011 at 02:38:44PM +0100, Traktor Toni wrote:
> Hi, I'm using librsvg-2. Just calling rsvg_init() rsvg_term() tells
> "bytes possibly lost" in valgrind at line "g_type_init_with_debug_flags"
> inside rsvg_init().
Do you use nip2.supp?
> Also, why is it still calling g_type_init_with_debug_flags even though
> I'm not compiling with any -g flag?
g_type_init() is just an alias for g_type_init_with_debug_flags() with
zero debug flags. So type initialisation always goes through
g_type_init_with_debug_flags(). And the flags are GObject debugging
flags they have nothing to do with the debugging info put into binaries
by the C compiler.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]