Clean up the lock file properly (i.e. in session destruction) when an

error is detected. #101004


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7765 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2003-01-04 06:28:16 +00:00
parent 1a5ddec55c
commit 5164ae147f

View File

@@ -396,11 +396,7 @@ gnc_file_be_load_from_file (Backend *bend, GNCBook *book)
}
if(error != ERR_BACKEND_NO_ERR)
{
xaccBackendSetError(bend, error);
g_free(be->lockfile);
be->lockfile = NULL;
}
}
/* ---------------------------------------------------------------------- */