Re: Valgrind questions



Hi Tom,

On 20 September 2011 11:38, Thomas Harty <t harty1 physics ox ac uk> wrote:
Running like that, I still get quite a few leaks detected by valgrind. Some of them are created by 
g_type_add_interface_static, which looks like another type_init leak, which we can safely ignore. So, I've 
added the following to the suppression file to kill these.

Ooop, thanks. I hadn't realised but I'd not updated the version on the
website for a while. I've put my current one up now and it includes a
thing for g_type_add_interface_static(), as you also found.

I've added a few more since the last update as well. There's an
annoying libz one which it now hides, and a couple of uint ones in
gettext.

With this version I get a clean run from hello.c with gtk+-2.0, except
for a single report from the theme engine, which I don't care about.

I've not tried 3.0 yet, I have some porting work to do before I get
stuck into that.

John



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