Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

free_inner results when --file is used

  • Loading branch information...
commit 4fc5efb6c299f9316a6a9d33a2fa6be8f14f88af 1 parent 7ec0a2f
Dave Reisner authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  expac.c
3  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:
Please sign in to comment.
Something went wrong with that request. Please try again.