RE: Memory leak in gtk label?
- From: "Liu, Raymond" <raymond liu intel com>
- To: "J. Ali Harlow" <ali juiblex co uk>, "gtk-list gnome org" <gtk-list gnome org>
- Subject: RE: Memory leak in gtk label?
- Date: Fri, 18 Dec 2009 09:34:39 +0800
Hi Ali
>
>On Thu, 17 Dec 2009 11:55 +0800, "Liu, Raymond" <raymond liu intel com>
>wrote:
>> Hi
>>
>> I am using valgrind to check my application, I found a lot of memory leak issue
>related to GtkLabel or maybe pango staff.
>>
>> I write a small test case to make it simple:
>
>[snip]
>
>You need to destroy the toplevel widgets before you exit if you want to
>check for memory leaks (see gtk_widget_destroy). There is no need to
>destroy the button or the label since they are owned by the toplevel.
>
I am afraid that's not the problem ;) on exit, those memories are belonging to the "still rereachable" sections, not leak section.
By the way, to make 100% sure, I destroy the top level window before exit. All the same ;)
Raymond
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]