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:
Dave Peticolas 2001-09-05 08:00:31 +00:00
parent 7c7a364e2d
commit 0216cb9e66

View File

@ -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;