mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
33a75c734b
This is the same fix as #497, but we're using auto_deleter instead because if allocation function throws, we can't rely on an explicit call to deallocate. Comes along with two tests that validate the behavior.