valgrind reports leaked (though still reachable) memory. I invoke it like this, from librepo/build/tests: CK_FORK=no valgrind --leak-check=full --show-reachable=yes ./test_main ../../tests/test_data/ Some of these might be known GPGME leaks (see e.g. [1]), others might be real. Ideally, a fix for this will include a valgrind suppressions file checked into the upstream repo, which will contain those leaks that librepo can do nothing about. That way we can run valgrind with it occasionally and be sure nothing unexpected is happening to the memory. [1] https://mailman.archlinux.org/pipermail/pacman-dev/2011-June/013398.html
Hi, I've added valgrind suppress file. This should be enough. In current state there are no real memory leaks. https://github.com/Tojaj/librepo/commit/820749896f69eadf2fd8041b63abb2be906de260
librepo-0.0.2-3.20130408git720d68d.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/librepo-0.0.2-3.20130408git720d68d.fc19
librepo-0.0.2-3.20130408git720d68d.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.