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
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ namespace mapnik
|
||||||
}
|
}
|
||||||
|
|
||||||
populate_tree( root, pt );
|
populate_tree( root, pt );
|
||||||
|
xmlFreeDoc(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue