1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 09:51:50 -05:00

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

View File

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