mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug#502755: Duplicate a key which is "owned" by the table we're inserting it into.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16629 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f611d9aaae
commit
099a5d7681
@ -846,7 +846,7 @@ gnc_sx_instance_model_update_sx_instances(GncSxInstanceModel *model, SchedXactio
|
|||||||
|
|
||||||
g_assert(parent_var != NULL);
|
g_assert(parent_var != NULL);
|
||||||
var_copy = gnc_sx_variable_new_copy(parent_var);
|
var_copy = gnc_sx_variable_new_copy(parent_var);
|
||||||
g_hash_table_insert(inst->variable_bindings, to_add_key, var_copy);
|
g_hash_table_insert(inst->variable_bindings, g_strdup(to_add_key), var_copy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user