Made a memory allocator (crude)
This commit is contained in:
parent
b5c7344851
commit
941bac31b6
53 changed files with 469 additions and 146 deletions
2
output/src/hashmap/env/env_utils.c
vendored
2
output/src/hashmap/env/env_utils.c
vendored
|
|
@ -51,6 +51,6 @@ void remove_hashmap_env(t_hashmap_env *hmap, t_str *key)
|
|||
else
|
||||
prev->next = entry->next;
|
||||
hmap->drop(entry->kv);
|
||||
free(entry);
|
||||
me_free(entry);
|
||||
hmap->buckets[hashed_key % hmap->num_buckets] = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue