summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg_hash.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:18:44 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:18:44 (EST)
commitf7eccd4bb54039f94312a56b40599d7cb446951e (patch)
tree4dec467a1f7c7827dfdf306bf22944e51c7a7d3b /libopkg/pkg_hash.c
parent90299e3df5c5d5eb4ae2189b11e44ec83995ca62 (diff)
opkg: (leak fixing, day 2) lots and lots of memory leaks fixed
git-svn-id: http://opkg.googlecode.com/svn/trunk@115 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/pkg_hash.c')
-rw-r--r--libopkg/pkg_hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c
index 580fe6e..f38c6ca 100644
--- a/libopkg/pkg_hash.c
+++ b/libopkg/pkg_hash.c
@@ -73,7 +73,9 @@ void free_pkgs (const char *key, void *entry, void *data)
}
abstract_pkg_vec_free (ab_pkg->provided_by);
+ abstract_pkg_vec_free (ab_pkg->replaced_by);
pkg_vec_free (ab_pkg->pkgs);
+ free (ab_pkg->depended_upon_by);
free (ab_pkg->name);
free (ab_pkg);
}