aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/opkg/patches/030-fix-double-free.patch
blob: 312e06c54864b746c1fc6446c7a72dfa68feab1b (plain)
1
2
3
4
5
6
7
8
9
10
--- a/libopkg/opkg_remove.c
+++ b/libopkg/opkg_remove.c
@@ -138,7 +138,6 @@ opkg_remove_dependent_pkgs(pkg_t *pkg, a
     for (i = 0; i < dependent_pkgs->len; i++) {
         err = opkg_remove_pkg(dependent_pkgs->pkgs[i],0);
         if (err) {
-            pkg_vec_free(dependent_pkgs);
             break;
 	}
     }