From ce031c62d630f204e5162f6fc85d9967baa4fc55 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" <ldv@altlinux.org> Date: Wed, 29 Jun 2005 18:04:46 +0000 Subject: [PATCH] reverted previous change --- rpmio/macro.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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