diff options
-rw-r--r-- | rpmio/macro.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index 88fb58362..11db47d60 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1344,9 +1344,8 @@ expandMacro(MacroBuf mb) me->used++; /* Mark macro as used */ } - /* Free args for "%name " macros with opts */ - if (me->opts != NULL) - freeArgs(mb); + /* Free locally defined macros, such as macro options */ + freeArgs(mb); s = se; } |