summaryrefslogtreecommitdiffstats
path: root/mtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtab.c')
-rw-r--r--mtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtab.c b/mtab.c
index e2b89c9..50de0c7 100644
--- a/mtab.c
+++ b/mtab.c
@@ -219,7 +219,7 @@ void free_bfs_mtab(struct bfs_mtab *mtab) {
struct trie_leaf *leaf;
while ((leaf = trie_first_leaf(&mtab->types))) {
- free((char *)leaf->value);
+ free(leaf->value);
trie_remove_mem(&mtab->types, leaf->key, leaf->length);
}
trie_destroy(&mtab->types);