mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
fix memory leak in load_map when using libxml2 by freeing the libxml tree as per http://xmlsoft.org/xmlmem.html - closes #473 - thanks mishok13 for the detailed report and testing
This commit is contained in:
parent
6bbfc5a1f2
commit
9750e6cd24
@ -151,6 +151,7 @@ namespace mapnik
|
||||
}
|
||||
|
||||
populate_tree( root, pt );
|
||||
xmlFreeDoc(doc);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user