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 628587 - memory leak at libgthumb/comments.c:750
memory leak at libgthumb/comments.c:750
Status: RESOLVED OBSOLETE
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2010-09-02 04:02 UTC by Tim Taiwanese Liim
Modified: 2011-07-07 19:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Taiwanese Liim 2010-09-02 04:02:08 UTC
Description of problem:
    Around libgthumb/comments.c:750, we have
            doc = xmlParseFile (local_file);
            ...
            data = comment_data_new ();
            root = xmlDocGetRootElement (doc);
            format = xmlGetProp (root, FORMAT_TAG);
            if (format == NULL)
                    return NULL;

    When format == NULL, data and doc are not freed.

Version-Release number of selected component (if applicable):
    gthumb-2.10.12-1.fc12.i686, on Fedora 12
Comment 1 Paolo Bacchilega 2011-07-07 19:15:08 UTC
version 2.10 is obsolete now, use version 2.12.