Parser: fix leak in include()
This commit is contained in:
parent
05bedec5c6
commit
a33ec045ab
@ -376,6 +376,9 @@ include(struct keyword *head)
|
||||
}
|
||||
}
|
||||
|
||||
if (filename != head->name)
|
||||
free(filename);
|
||||
|
||||
head = head->next;
|
||||
|
||||
if (kw) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user