0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-26 21:04:25 +08:00
Arseny Kapoulkine 33a75c734b Fix memory leak during OOM in convert_buffer
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.
2022-05-16 19:12:52 -07:00
..
2019-09-22 08:42:41 -07:00
2022-02-10 08:36:19 -08:00
2022-02-15 20:23:05 -08:00