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 597146 - Memory leak
Memory leak
Status: RESOLVED WONTFIX
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-10-02 18:06 UTC by Vincent Untz
Modified: 2014-03-02 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Plug leak (530 bytes, patch)
2009-10-02 18:10 UTC, Vincent Untz
none Details | Review

Description Vincent Untz 2009-10-02 18:06:32 UTC
Forwarding https://bugzilla.novell.com/show_bug.cgi?id=540416

I just had a look at factory package libgnomeprint-2.18.6-1.32

For source code file libgnomeprint-2.18.6/libgnomeprint/gnome-fontmap.c
around line 190, function fcpattern_to_gp_font_entry is the following code

        dup_fc_style = (FcChar8*) g_strdup ("Bold Italic");

but I fail to detect a matching call to free. This looks like a memory
leak to me. Suggest add call to free near the end of the function.
Comment 1 Vincent Untz 2009-10-02 18:10:43 UTC
Created attachment 144611 [details] [review]
Plug leak

Note that it happens only if the function returns NULL, as far as I can tell.
Comment 2 André Klapper 2014-03-02 18:07:15 UTC
https://git.gnome.org/browse/archive/gnome-print/
https://git.gnome.org/browse/archive/libgnomeprint/
https://git.gnome.org/browse/archive/libgnomeprintui/
have been archived in Git.

They are not under active development anymore. It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if
anyone takes the responsibility for active development again.