summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 134e44f..992721d 100644
--- a/src/list.c
+++ b/src/list.c
@@ -210,7 +210,7 @@ void FreeList(name_list **list)
for (nptr = *list; nptr != NULL; )
{
tmp = nptr->next;
- free((char *) nptr);
+ free(nptr);
nptr = tmp;
}
*list = NULL;