[cellblock.c] free the cells

was leaking at least 256 bytes per cell block
This commit is contained in:
Christopher Lam 2022-06-27 23:23:39 +08:00
parent bf0d532b3d
commit 0ab31763e4

View File

@ -79,7 +79,7 @@ gnc_cellblock_destroy (CellBlock *cellblock)
{
if (!cellblock) return;
g_ptr_array_free (cellblock->cells, FALSE);
g_ptr_array_free (cellblock->cells, TRUE);
cellblock->cells = NULL;
g_free (cellblock->cursor_name);