mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix a memleak that may occur on systems without alloca(), backport from
gettext 0.14.5.
This commit is contained in:
parent
9c767f491f
commit
0983c5c764
@ -241,6 +241,7 @@ struct block_list {
|
||||
while (list != NULL) { \
|
||||
struct block_list *old = list; \
|
||||
list = list->next; \
|
||||
free (old->address); \
|
||||
free (old); \
|
||||
} \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user