aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/hashtable.h')
-rw-r--r--src/bytecode/hashtable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bytecode/hashtable.h b/src/bytecode/hashtable.h
index 81c841e..1f55048 100644
--- a/src/bytecode/hashtable.h
+++ b/src/bytecode/hashtable.h
@@ -116,7 +116,6 @@ _ht_insert(HashTable *table, Object key, Object value) {
116 pairs[probe_position].key = &table->keys[array_size(table->keys) - 1]; 116 pairs[probe_position].key = &table->keys[array_size(table->keys) - 1];
117 pairs[probe_position].value = &table->values[array_size(table->values) - 1]; 117 pairs[probe_position].value = &table->values[array_size(table->values) - 1];
118 } else { 118 } else {
119 object_free(*pairs[probe_position].value);
120 *pairs[probe_position].value = value; 119 *pairs[probe_position].value = value;
121 } 120 }
122} 121}