projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
opkg: balance the installed_files reference count
[oweals/opkg-lede.git]
/
libopkg
/
pkg_extract.c
diff --git
a/libopkg/pkg_extract.c
b/libopkg/pkg_extract.c
index 0649b9440241c3cc1eb0fbb25ce291ca6cfb680d..f97218234088a676b938ba44c30da730409d6315 100644
(file)
--- a/
libopkg/pkg_extract.c
+++ b/
libopkg/pkg_extract.c
@@
-136,6
+136,8
@@
int pkg_extract_data_file_names_to_file(pkg_t *pkg, const char *file_name)
} else {
fputs(data_file, file);
}
+ free(line);
+ line=NULL;
}
}
fclose(tmp);