Pavel Hrdina 3cfd60b121 tests: fix some resource leaks
Found by running valgrind for these tests.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
(cherry picked from commit 9005a64b5cd2a064418572ec295532efb3df2798)
2017-05-10 15:21:38 -04:00
..
2017-05-10 15:21:38 -04:00
2017-05-10 15:21:38 -04:00
2016-12-06 13:34:00 +01:00
2016-12-06 13:34:00 +01:00
2016-05-02 07:18:25 +02:00
2016-06-14 08:25:25 +02:00
2017-05-10 15:21:38 -04:00
2016-05-20 17:16:21 +02:00
2016-05-20 17:16:21 +02:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2016-05-02 07:18:25 +02:00
2017-02-10 10:25:44 +01:00