Re: Does GTK leak memory



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



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