index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/files.c | 3 |
diff --git a/src/pacman/files.c b/src/pacman/files.c index 3bb2f2ba..5baf5e57 100644 --- a/src/pacman/files.c +++ b/src/pacman/files.c @@ -169,6 +169,9 @@ static int files_search(alpm_list_t *syncs, alpm_list_t *targets, int regex) { } } + if(regex) { + regfree(®); + } notfound: if(!found) { |