summaryrefslogtreecommitdiffstats
path: root/src/htgen.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2024-01-31 19:17:14 -0600
committerLibravatar bigfoot547 <[email protected]>2024-01-31 19:17:14 -0600
commit874ac7571a4085c0964ff577280972a612951363 (patch)
tree996b0d182e52b5882d5c9d4c1484410305e1a0f8 /src/htgen.h
parentfinish hash implementation (untested) (diff)
fix using the wrong free function
Diffstat (limited to 'src/htgen.h')
-rw-r--r--src/htgen.h4
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)