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/files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/files.c b/src/pacman/files.c
index 22509943..ceec3429 100644
--- a/src/pacman/files.c
+++ b/src/pacman/files.c
@@ -102,6 +102,7 @@ static int files_search(alpm_list_t *syncs, alpm_list_t *targets, int regex) {
if(regex) {
if(regcomp(&reg, targ, REG_EXTENDED | REG_NOSUB | REG_ICASE | REG_NEWLINE) != 0) {
/* TODO: error message */
+ free(targ);
goto notfound;
}
}