projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opkg: balance the installed_files reference count
[oweals/opkg-lede.git]
/
libopkg
/
opkg_install.c
diff --git
a/libopkg/opkg_install.c
b/libopkg/opkg_install.c
index e1a50ccb8585c447d1819f4762c1961c82784358..a3893c7131f54e89cc2fc926d15d57f00af2e2cf 100644
(file)
--- a/
libopkg/opkg_install.c
+++ b/
libopkg/opkg_install.c
@@
-506,7
+506,9
@@
static int update_file_ownership(opkg_conf_t *conf, pkg_t *new_pkg, pkg_t *old_p
hash_table_insert(&conf->obs_file_hash, old_file, old_pkg);
}
}
hash_table_insert(&conf->obs_file_hash, old_file, old_pkg);
}
}
+ pkg_free_installed_files(old_pkg);
}
}
+ pkg_free_installed_files(new_pkg);
return 0;
}
return 0;
}