aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-01-13 22:00:24 +0000
committerJason Woodward2005-01-13 22:00:24 +0000
commit5cee9b2600056c58693e4c886928fc7c4a4574ad (patch)
treee2ce51d60a94c9936a8ce3882f5ee97a66068b0c /src
parent46d07c3ee2b82b65cf579631204bd7bb1e1d9985 (diff)
downloadslapt-get-5cee9b2600056c58693e4c886928fc7c4a4574ad.tar.gz
added missing free for tmp required_of_required_by pkg_list structure in required_by()
Diffstat (limited to 'src')
-rw-r--r--src/package.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package.c b/src/package.c
index ffb2bea..2d56d2b 100644
--- a/src/package.c
+++ b/src/package.c
@@ -1443,6 +1443,8 @@ static struct pkg_list *required_by(const rc_config *global_config,struct pkg_li
}
}
+ free(required_of_required_by->pkgs);
+ free(required_of_required_by);
}
}