Permalink
Browse files

free_inner results when --file is used

  • Loading branch information...
1 parent 7ec0a2f commit 4fc5efb6c299f9316a6a9d33a2fa6be8f14f88af @falconindy committed Oct 21, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 expac.c
View
@@ -637,6 +637,9 @@ int main(int argc, char *argv[]) {
}
ret = !!ret; /* clamp to zero/one */
+ if(localpkg) {
+ alpm_list_free_inner(results, (alpm_list_fn_free)alpm_pkg_free);
+ }
alpm_list_free(results);
finish:

0 comments on commit 4fc5efb

Please sign in to comment.