From 343ea8171815debe3fc5a55ad0eeaf6c35f90bb9 Mon Sep 17 00:00:00 2001 From: Pang Yan Han Date: Mon, 22 Aug 2011 13:00:34 +0800 Subject: pacsort: correct list freeing Signed-off-by: Pang Yan Han Signed-off-by: Dan McGee --- src/util/pacsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/pacsort.c b/src/util/pacsort.c index 8236c959..77edda7a 100644 --- a/src/util/pacsort.c +++ b/src/util/pacsort.c @@ -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) -- cgit v1.2.3-70-g09d2