1
0

030-fix-double-free.patch 319 B

12345678910
  1. --- a/libopkg/opkg_remove.c
  2. +++ b/libopkg/opkg_remove.c
  3. @@ -138,7 +138,6 @@ opkg_remove_dependent_pkgs(pkg_t *pkg, a
  4. for (i = 0; i < dependent_pkgs->len; i++) {
  5. err = opkg_remove_pkg(dependent_pkgs->pkgs[i],0);
  6. if (err) {
  7. - pkg_vec_free(dependent_pkgs);
  8. break;
  9. }
  10. }