Fix memory leak in pkg_addscript_file() when encountering invalid script
modified libpkg/pkg.c
@@ -777,10 +777,12 @@ pkg_addscript_file(struct pkg *pkg, const char *path)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|