From: Randy Barlow <randy@electronsweatshop.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] memory leak with gtk+-2.8.20-r1
Date: Wed, 02 Aug 2006 11:20:59 -0400 [thread overview]
Message-ID: <44D0C2DB.905@electronsweatshop.com> (raw)
In-Reply-To: <20060802154715.d9259bb7.hilse@web.de>
Hans-Werner Hilse wrote:
> Hi,
>
> On Wed, 02 Aug 2006 13:49:04 +0200 gwe <gwenjo@free.fr> wrote:
>
>> I'm sorry
>> I post only the end of log file of valgrind (the entire file is very big
>> ~22500 lines).
>> This is the result of execute the source code :
>> ==13767== LEAK SUMMARY:
>> ==13767== definitely lost: 36 bytes in 1 blocks.
>> ==13767== indirectly lost: 120 bytes in 10 blocks.
>> ==13767== possibly lost: 40,264 bytes in 47 blocks.
>> ==13767== still reachable: 118,673 bytes in 1,963 blocks.
>> ==13767== suppressed: 0 bytes in 0 blocks.
>
> OK, but memory usage doesn't add up while the program is running,
> right? I think it may be just the missing call to gtk_exit(EXIT_SUCCESS)
> instead of return EXITSUCCESS. At least gtk_exit() is supposed to do
> final cleanup work.
Ah yes, I wasn't aware that there was a function for this. You should
definitely use this in place of the delete statement because it will do
deeper cleaning.
R
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-02 15:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6FmCn-3KJ-17@gated-at.bofh.it>
[not found] ` <6FmVF-4oe-19@gated-at.bofh.it>
2006-08-02 11:49 ` [gentoo-user] memory leak with gtk+-2.8.20-r1 gwe
2006-08-02 13:47 ` Hans-Werner Hilse
2006-08-02 15:20 ` Randy Barlow [this message]
[not found] <6FnoP-4ZX-69@gated-at.bofh.it>
[not found] ` <6FnoP-4ZX-71@gated-at.bofh.it>
[not found] ` <6FnoP-4ZX-67@gated-at.bofh.it>
[not found] ` <6FpgY-7RO-5@gated-at.bofh.it>
[not found] ` <6FqPE-1YI-3@gated-at.bofh.it>
2006-08-02 16:14 ` gwe
2006-08-02 16:24 ` Hans-Werner Hilse
2006-08-02 11:04 gwe
-- strict thread matches above, loose matches on Subject: below --
2006-08-02 10:58 gwe
2006-08-02 11:16 ` Hans-Werner Hilse
2006-08-02 15:14 ` Randy Barlow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44D0C2DB.905@electronsweatshop.com \
--to=randy@electronsweatshop.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox