summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-08 14:38:34 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2006-12-08 14:38:34 +0000
commit0d7e7a54f60fa229b96e149734abae6afd873fbf (patch)
tree133f12c8040e4408960585a6d1371bcec11d1c26 /src/pugixml.hpp
parent1ea53e16dd8d4f37092813e8da7839b96f599bc6 (diff)
Fixed memory leak, correct behavior for several parse() on one parser
git-svn-id: http://pugixml.googlecode.com/svn/trunk@15 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 739caaa..42a7950 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -507,6 +507,8 @@ namespace pugi
xml_parser(const xml_parser&);
const xml_parser& operator=(const xml_parser&);
+ void free(); ///< free memory
+
public:
/// Constructor.
/// \param optmsk - Options mask.