[pacman-dev] memleak caused by "don't duplicate package in cache"