GNOME Bugzilla – Bug 597146
Memory leak
Last modified: 2014-03-02 18:07:15 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.
Created attachment 144611 [details] [review] Plug leak Note that it happens only if the function returns NULL, as far as I can tell.
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.