After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 159575 - mem leak
mem leak
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-26 17:50 UTC by Paolo Borelli
Modified: 2005-03-21 21:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (922 bytes, patch)
2004-11-26 17:51 UTC, Paolo Borelli
none Details | Review

Description Paolo Borelli 2004-11-26 17:50:51 UTC
a small mem leak: it looks like dk_pixbuf_format_get_name returns a newly
allocated string...

==9333== 454 bytes in 40 blocks are definitely lost in loss record 118 of 179
==9333==    at 0x3C01E31B: malloc (vg_replace_malloc.c:105)
==9333==    by 0x3C9B00D6: IA__g_malloc (gmem.c:137)
==9333==    by 0x3C9BFE78: IA__g_strdup (gstrfuncs.c:90)
==9333==    by 0x3C8C6184: IA__gdk_pixbuf_format_get_name (gdk-pixbuf-io.c:1792)
==9333==    by 0x8061A90: real_image_load (eog-image.c:859)
Comment 1 Paolo Borelli 2004-11-26 17:51:29 UTC
Created attachment 34164 [details] [review]
proposed patch
Comment 2 Jens Finke 2005-03-21 21:11:37 UTC
Applied to head, thanks.