mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[cellblock.c] free the cells
was leaking at least 256 bytes per cell block
This commit is contained in:
parent
bf0d532b3d
commit
0ab31763e4
@ -79,7 +79,7 @@ gnc_cellblock_destroy (CellBlock *cellblock)
|
|||||||
{
|
{
|
||||||
if (!cellblock) return;
|
if (!cellblock) return;
|
||||||
|
|
||||||
g_ptr_array_free (cellblock->cells, FALSE);
|
g_ptr_array_free (cellblock->cells, TRUE);
|
||||||
cellblock->cells = NULL;
|
cellblock->cells = NULL;
|
||||||
|
|
||||||
g_free (cellblock->cursor_name);
|
g_free (cellblock->cursor_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user