Skip to content

Commit

Permalink
pc: plug memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Aug 20, 2021
1 parent 727d35f commit 52589eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpkg/pkg_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ pkg_create_staged(const char *outdir, pkg_formats format, const char *rootdir,
pkg_create_set_output_dir(pc, outdir);

ret = pkg_create(pc, md_dir, plist, hash);
pkg_create_free(pc);
return (ret);
}

Expand Down

0 comments on commit 52589eb

Please sign in to comment.