index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/pacman.c | 1 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 37472083..efc24126 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -906,6 +906,7 @@ static int _parseconfig(const char *file, const char *givensection, free(temp); } else { if(strstr(temp, "$arch")) { + free(temp); pm_printf(PM_LOG_ERROR, _("The mirror '%s' contains the $arch" " variable, but no Architecture is defined.\n"), ptr); ret = 1; |