if i install a package A which is dependent on B and B is already installed then i will get 4 bytes leakage. i checked using valgrind ==24312== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==24312== at 0x402C109: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==24312== by 0x406B504: xcalloc (xfuncs.c:55) ==24312== by 0x4062605: buildProvides (pkg_depends.c:800) ==24312== by 0x40652EC: hash_insert_pkg (pkg_hash.c:730) ==24312== by 0x406549C: pkg_hash_add_from_file (pkg_hash.c:158) ==24312== by 0x4065A00: pkg_hash_load_status_files (pkg_hash.c:254) ==24312== by 0x804929F: main (opkg.c:396) ==24312== ==24312== LEAK SUMMARY: ==24312== definitely lost: 4 bytes in 1 blocks ==24312== indirectly lost: 0 bytes in 0 blocks ==24312== possibly lost: 0 bytes in 0 blocks ==24312== still reachable: 0 bytes in 0 blocks ==24312== suppressed: 0 bytes in 0 blocks
*** Bug 8602 has been marked as a duplicate of this bug. ***
Fixed on af3a03f18e61555d61516bc6878dfe1d41af69a2