diff --git a/libgnucash/engine/SX-book.c b/libgnucash/engine/SX-book.c index d8d8c27db6..15eb1943bc 100644 --- a/libgnucash/engine/SX-book.c +++ b/libgnucash/engine/SX-book.c @@ -281,6 +281,7 @@ book_sxes_end(QofBook* book) sxes = qof_collection_get_data(col); if (sxes != NULL) { + g_list_free (sxes->sx_list); g_object_unref(sxes); qof_collection_set_data(col, NULL); }