mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -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:
parent
ffdfc82523
commit
343ea81718
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user