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: (leak fixing, day 2) lots and lots of memory leaks fixed
[oweals/opkg-lede.git]
/
libopkg
/
args.c
diff --git
a/libopkg/args.c
b/libopkg/args.c
index fa2f633619d78ab1c486ae0fd3eb08d3815e2ffc..6143f11a22c455562d1bdec398f83914ef0b0508 100644
(file)
--- a/
libopkg/args.c
+++ b/
libopkg/args.c
@@
-83,6
+83,12
@@
int args_init(args_t *args)
void args_deinit(args_t *args)
{
+ free (args->offline_root);
+ free (args->offline_root_pre_script_cmd);
+ free (args->offline_root_post_script_cmd);
+
+ free (args->dest);
+ free (args->tmp_dir);
free(args->conf_file);
args->conf_file = NULL;
}