Skip to content

Commit

Permalink
extract: plug another memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Jan 21, 2025
1 parent 0044ce0 commit e7a8022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpkg/pkg_add.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,

cleanup:
vec_free(context.symlinks_allowed);
free(context.symlinks_allowed);

if (openxact)
pkgdb_register_finale(db, retcode, NULL);
Expand Down

0 comments on commit e7a8022

Please sign in to comment.