mirror of https://github.com/Gnucash/gnucash
m_lockfd is not initialised. If the file is locked then it will not be set before session_end and close() will be called on an uninitialised int. Initialise it to -1 in the class definition. Consistently use -1 instead of "< 0" or "< 1" as the definition of invalid. Always set it to -1 after closing it.pull/1119/head
parent
228954c408
commit
e4619fdae6
Loading…
Reference in new issue