diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-19 01:39:32 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-19 01:39:32 (EST) |
commit | c03e55b08e74a0d6ddb8cfd3d691444dd911a90e (patch) | |
tree | dcf051de13b2475b425e4d2fc348f9a54ab5edb1 | |
parent | b25d96944364269c61835d7a80a9165f0ee95667 (diff) |
Plug a leak.
git-svn-id: http://opkg.googlecode.com/svn/trunk@339 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r-- | libopkg/opkg_remove.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/opkg_remove.c b/libopkg/opkg_remove.c index aadfa6a..6de97a9 100644 --- a/libopkg/opkg_remove.c +++ b/libopkg/opkg_remove.c @@ -208,6 +208,8 @@ static int remove_autoinstalled (opkg_conf_t *conf, pkg_t *pkg) else opkg_message (conf, OPKG_INFO, "%s was autoinstalled and is still required by " "%d installed packages\n", buffer, deps); + if (dependents) + free(dependents); } free (buffer); } |