Plug memory leaks
modified libpkg/pkg_ports.c
@@ -192,7 +192,7 @@ setprefix(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203,7 +203,8 @@ name_key(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -212,7 +213,8 @@ name_key(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -223,7 +225,8 @@ pkgdep(struct plist *p, char *line, struct file_attr *a)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|