diff options
| author | 2024-01-31 19:17:14 -0600 | |
|---|---|---|
| committer | 2024-01-31 19:17:14 -0600 | |
| commit | 874ac7571a4085c0964ff577280972a612951363 (patch) | |
| tree | 996b0d182e52b5882d5c9d4c1484410305e1a0f8 | |
| parent | finish hash implementation (untested) (diff) | |
fix using the wrong free function
| -rw-r--r-- | src/htgen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htgen.h b/src/htgen.h index 9101e01..86bf7e9 100644 --- a/src/htgen.h +++ b/src/htgen.h @@ -263,8 +263,8 @@ void HT__NS(free)(HT__TYPE *ht) HT__NS(clear)(ht); - free(ht->table); - free(ht); + HT_FREE(ht->table); + HT_FREE(ht); } void HT__NS(clear)(HT__TYPE *ht) |
