-
Fix double delete on std::bad_alloc exception · 0773f40aElliot Goodrich authored
If the new operator throws in the json::find methods then result.oi_ is deleted again in the destructor of json::iterator/json::const_iterator, which is a double delete and undefined behaviour.
0773f40a
×