Revert "Always free locally defined macros when they go out of scope"
- the "fix" breaks seemingly legitimate use in fedora font package
macros, possibly some funky interaction with %{lua: } macros or something
- this reverts commit f895acd285
.
This commit is contained in:
parent
05b2d979e8
commit
c16cde7a4d
|
@ -1344,8 +1344,9 @@ expandMacro(MacroBuf mb)
|
||||||
me->used++; /* Mark macro as used */
|
me->used++; /* Mark macro as used */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Free locally defined macros, such as macro options */
|
/* Free args for "%name " macros with opts */
|
||||||
freeArgs(mb);
|
if (me->opts != NULL)
|
||||||
|
freeArgs(mb);
|
||||||
|
|
||||||
s = se;
|
s = se;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue