Fix potential use after free introduced while fixing memory leaks
modified libpkg/pkg.c
@@ -744,7 +744,7 @@ pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sum,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -847,7 +847,7 @@ pkg_adddir_attr(struct pkg *pkg, const char *path, const char *uname,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|