diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-18 10:18:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-08-18 10:18:21 -0700 |
commit | 58f3c3b8d518786764f45ac2be1f1f0850129125 (patch) | |
tree | db01e99d81fe6120d5a9311c2d0fb768b8b9ac70 /src/list.c | |
parent | 2a637337713c5c92c44249b88e31696ce9efdf9b (diff) |
Stop casting pointers to (char *) when freeing them
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |