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:
Joshua Sled 2007-12-09 23:29:16 +00:00
parent f611d9aaae
commit 099a5d7681

View File

@ -846,7 +846,7 @@ gnc_sx_instance_model_update_sx_instances(GncSxInstanceModel *model, SchedXactio
g_assert(parent_var != NULL);
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);
}
}
}