mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix deallocated memory reference.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5284 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
7c7a364e2d
commit
0216cb9e66
@ -74,6 +74,8 @@ gnc_table_model_handler_hash_remove (GHashTable *hash, const char *cell_name)
|
||||
node = g_hash_table_lookup (hash, cell_name);
|
||||
if (!node) return;
|
||||
|
||||
g_hash_table_remove (hash, cell_name);
|
||||
|
||||
g_free (node->cell_name);
|
||||
node->cell_name = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user