Don't leak strings in merge declarations
Introduced by the reentrant scanner commit. Signed-off-by: Daniel Stone <daniel@fooishbar.org>master
parent
aa9f2bf98d
commit
36b8771e1f
|
@ -337,6 +337,7 @@ Decl : OptMergeMode VarDecl
|
|||
else {
|
||||
$$= &IncludeCreate($2,$1)->common;
|
||||
}
|
||||
free($2);
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue