Found by running valgrind for these tests. Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
mentioned in commit 3cfd60b1