Re: [PATCH] [RFC] Add g_*_deinit() API
- From: David Zeuthen <zeuthen gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: [PATCH] [RFC] Add g_*_deinit() API
- Date: Thu, 30 Sep 2010 17:24:47 -0400
Hi,
This bug
https://bugzilla.gnome.org/show_bug.cgi?id=627423
is an attempt at making GLib valgrind friendly. It actually makes the
minimal GType program e.g.
int main (int argc, char *argv[])
{
g_type_init ();
g_mem_shutdown();
}
not leak any memory. The idea is that we can use this in test cases
and automatically catch memory leaks that way. There's also links to
other related bugs in that bug (thanks mclasen for doing this). FWIW,
I haven't had time to work on this... not because I don't think it's
interesting or necessary - just that I've been busy with other stuff.
HTH,
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]