Fix leakage of old books.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13769 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler
2006-04-11 20:49:35 +00:00
parent dd321449ce
commit 8b4f3a1570
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1130,8 +1130,8 @@ qof_session_load (QofSession *session,
qof_book_set_backend (ob, NULL);
qof_book_destroy (ob);
}
/* Um, I think we're leaking the oldbooks list. */
g_list_free (oldbooks);
LEAVE ("sess = %p, book_id=%s", session, session->book_id
? session->book_id : "(null)");
}