enlarge _memory before it isn't large enough if we are working with custom malloc.

This commit is contained in:
Guijun 2015-11-30 18:48:07 +08:00
parent 2cf599b310
commit 8a561fd1fb

View File

@ -941,7 +941,7 @@ namespace pugi
private: private:
char_t* _buffer; char_t* _buffer;
char _memory[192]; char _memory[192+64];
// Non-copyable semantics // Non-copyable semantics
xml_document(const xml_document&); xml_document(const xml_document&);