mirror of
https://github.com/nlohmann/json.git
synced 2026-11-05 20:29:21 +00:00
json_sax_dom_parser::insert_key_with_index: own the new object_key_index in a unique_ptr before key_indexes may reallocate; a throwing reallocation leaked it. Signed-off-by: Christoph Grüninger <foss@grueninger.de>