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 764281 - Memory leak when parsing OSM objects
Memory leak when parsing OSM objects
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-28 12:18 UTC by Marcus Lundblad
Modified: 2016-03-29 19:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
osmEdit: Fix memory leak when parsing XML document (824 bytes, patch)
2016-03-28 12:19 UTC, Marcus Lundblad
committed Details | Review

Description Marcus Lundblad 2016-03-28 12:18:52 UTC
The libxml2 XML document object is never freed when parsing an object to edit.
Comment 1 Marcus Lundblad 2016-03-28 12:19:22 UTC
Created attachment 324871 [details] [review]
osmEdit: Fix memory leak when parsing XML document
Comment 2 Jonas Danielsson 2016-03-29 09:12:28 UTC
Review of attachment 324871 [details] [review]:

Ship it. Thanks!
Comment 3 Marcus Lundblad 2016-03-29 19:38:22 UTC
Attachment 324871 [details] pushed as f40f853 - osmEdit: Fix memory leak when parsing XML document