summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-03 08:05:32 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-03 08:05:32 +0000
commitf533923f1fe5b1b75771ced133858d6b23cde512 (patch)
treea87928d7e6084cf8db92a2c8410e06e251f11afb /src/pugixml.hpp
parent085584aa30b79e7755ffdf50882f7decfd4336be (diff)
XPath: Fixed leaks in case query compilation failed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@621 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 6a5f7e4..d79d128 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -369,8 +369,6 @@ namespace pugi
xpath_allocator* m_alloc;
xpath_ast_node* m_root;
- void compile(const char_t* query);
-
public:
/**
* Constructor from string with XPath expression.