diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/query.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c index bb69527d..8af05e06 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -392,6 +392,11 @@ int pacman_query(alpm_list_t *targets) if(filter(pkg)) { display(pkg); } + + if(config->op_q_isfile) { + alpm_pkg_free(pkg); + pkg = NULL; + } } return(ret); |