1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00

Fix a memleak that may occur on systems without alloca(), backport from

gettext 0.14.5.
This commit is contained in:
Laurent MONIN 2006-01-13 13:58:13 +01:00 committed by Laurent MONIN
parent 671db9f26b
commit b7b33bae9b

View File

@ -240,7 +240,8 @@ struct block_list {
do { \
while (list != NULL) { \
struct block_list *old = list; \
list = list->next; \
list = list->next; \
free (old->address); \
free (old); \
} \
} while (0)