diff options
-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); } |