pacsort: correct list freeing

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Pang Yan Han 2011-08-22 13:00:34 +08:00 committed by Dan McGee
parent ffdfc82523
commit 343ea81718
1 changed files with 1 additions and 1 deletions

View File

@ -158,8 +158,8 @@ static void list_free(struct list_t *list)
free(list->list[i]);
}
free(list->list);
free(list);
}
free(list);
}
static char *explode(struct buffer_t *buffer, struct list_t *list)