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