mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
files_search: free compiled regex
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
978b197120
commit
726712aa08
@ -169,6 +169,9 @@ static int files_search(alpm_list_t *syncs, alpm_list_t *targets, int regex) {
|
||||
}
|
||||
}
|
||||
|
||||
if(regex) {
|
||||
regfree(®);
|
||||
}
|
||||
|
||||
notfound:
|
||||
if(!found) {
|
||||
|
Loading…
Reference in New Issue
Block a user