Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/pacman.c1
1 files changed, 1 insertions, 0 deletions
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;