Bug 787095 - Gnucash Crashes when opening old XML file

pull/287/head
Andreas Müller 8 years ago committed by John Ralls
parent bab3bc7e93
commit 128fce3ed8

@ -121,6 +121,8 @@ KvpFrame::set_impl (std::string const & key, KvpValue * value) noexcept
KvpValue *
KvpFrameImpl::set (Path path, KvpValue* value) noexcept
{
if (path.empty())
return nullptr;
auto key = path.back ();
path.pop_back ();
auto target = get_child_frame_or_nullptr (path);

Loading…
Cancel
Save