Plug a memory leak, check the return of a malloc
modified libpkg/pkg_ports.c
@@ -895,6 +895,9 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -907,7 +910,7 @@ apply_keyword_file(ucl_object_t *obj, struct plist *p, char *line, struct file_a
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|