diff --git a/rpmio/macro.c b/rpmio/macro.c index 1259ac2..fe8aa25 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -1644,9 +1644,8 @@ rpmInitMacrofile (const char *macrofile) } static void -rpmInitMacrofileGlob (const char *arg) +rpmInitMacrofileGlob (const char *macrofile) { - const char *macrofile = rpmExpand (arg, NULL); int is_local = strchr (macrofile, '~') ? 1 : 0; if (is_local || strchr (macrofile, '*')) @@ -1682,8 +1681,6 @@ rpmInitMacrofileGlob (const char *arg) } else rpmInitMacrofile (macrofile); - - _free (macrofile); } void