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:
Dane Springmeyer 2010-01-01 22:41:43 +00:00
parent 6bbfc5a1f2
commit 9750e6cd24

View file

@ -151,6 +151,7 @@ namespace mapnik
} }
populate_tree( root, pt ); populate_tree( root, pt );
xmlFreeDoc(doc);
} }
private: private: