[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: Does GTK leak memory
From:       Emmanuele Bassi <ebassi () gmail ! com>
Date:       2010-06-02 12:34:07
Message-ID: 1275482047.2785.28.camel () gambit
[Download RAW message or body]

On Wed, 2010-06-02 at 13:50 +0200, Lothar Scholz wrote:
> Hello gtk-list,
> 
> I'm using
> 
> g_mem_set_vtable(glib_mem_profiler_table);
> g_atexit(g_mem_profile);
> 
> as the first calls in the main function.
> Even the most simple test app leaks memory about 125 KB
> with 90% freed.

"leaks" how? some internal objects are singletons, and won't be freed
for the entire duration of the application's lifetime.

leaks are continuous, not one-off allocations; the memory for one-off
allocations will be reclaimed by the operating system when the
application exits.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic