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:
Panu Matilainen 2010-01-07 12:04:53 +02:00
parent 05b2d979e8
commit c16cde7a4d
1 changed files with 3 additions and 2 deletions

View File

@ -1344,8 +1344,9 @@ expandMacro(MacroBuf mb)
me->used++; /* Mark macro as used */
}
/* Free locally defined macros, such as macro options */
freeArgs(mb);
/* Free args for "%name " macros with opts */
if (me->opts != NULL)
freeArgs(mb);
s = se;
}