Re: GLib/GModule Memory Leak?



On Sun, 16 Apr 2006, Kalle Vahlman wrote:

> I'm under the impression that valgrind and the new slice allocator
> code do not really mix. There is a way to turn it to mallocs for
> memory debugging, see

Well, the major issue I remember is with multiple threads.  For
single threads, g_slice may hide some problems, but it should not
introduce new errors or leaks.  I've also submitted a patch for
glib to add valgrind support to g_slice:

  http://bugzilla.gnome.org/show_bug.cgi?id=335126


--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



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