gnucash master: Fix xml save crash.
jralls at code.gnucash.org
Fri Dec 2 17:47:17 EST 2016
Updated via https://github.com/Gnucash/gnucash/commit/9d753789 (commit)
from https://github.com/Gnucash/gnucash/commit/e592e00e (commit)
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Dec 2 14:42:46 2016 -0800
Fix xml save crash.
Actually two problems; first, save_may_clobber_data returned the reverse
of what it should have and second, the backend's m_book (which pointed
to the old book) wasn't nulled so there was a mismatch at save time
preventing the save from taking place. Then, when quitting GnuCash, the
cleanup found the old m_book pointer and tried to use it, causing a
memory protection crash.
Summary of changes:
src/backend/xml/gnc-xml-backend.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
More information about the gnucash-patches