[gnc-ledger-display] free QofQuery*

This commit is contained in:
Christopher Lam
2021-06-03 21:34:47 +08:00
parent a3e3823ee7
commit 5e4668ea03

View File

@@ -448,6 +448,8 @@ gnc_ledger_display_gl (void)
ld = gnc_ledger_display_internal (NULL, query, LD_GL, GENERAL_JOURNAL,
REG_STYLE_JOURNAL, FALSE, FALSE, FALSE);
LEAVE ("%p", ld);
qof_query_destroy (query);
return ld;
}