0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-13 17:37:58 +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
..
2015-03-13 22:13:10 -07:00
2017-02-09 07:37:38 -08:00
2017-04-03 21:09:37 -07:00
2017-02-09 07:37:38 -08:00
2019-09-22 08:42:41 -07:00
2019-08-21 07:46:11 -07:00
2022-02-10 08:36:19 -08:00
2022-02-15 20:23:05 -08:00
2018-11-23 23:39:22 -08:00