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 334047 - crash in markup backend
crash in markup backend
Status: RESOLVED FIXED
Product: GConf
Classification: Deprecated
Component: Markup backend
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-09 17:05 UTC by Matthias Clasen
Modified: 2006-03-10 01:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix the crash (711 bytes, patch)
2006-03-09 17:06 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2006-03-09 17:05:44 UTC
backends/markup-tree.c:parse_tree frees the context
in some error paths, even if it was not allocated.

This is with current cvs, 2.13.5 leaks the context instead...
Comment 1 Matthias Clasen 2006-03-09 17:06:44 UTC
Created attachment 60989 [details] [review]
fix the crash
Comment 2 Matthias Clasen 2006-03-09 17:08:57 UTC
This problem was introduced by 

2006-03-06  Kjartan Maraas  <kmaraas@gnome.org>

        * backends/markup-tree.c: (parse_tree): Free the parse context in
        some more cases. Fixes bug #332528.

Comment 3 Kjartan Maraas 2006-03-10 01:59:55 UTC
I commited this. Thanks for setting me straight :)