From: John Ferlan Date: Wed, 9 Jan 2013 14:54:14 +0000 (-0500) Subject: test: Resource resource leak with 'tmp_vols' X-Git-Tag: v1.0.2-rc1~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=159f59f34a61ec641b67c5b26103758a755b975a;p=thirdparty%2Flibvirt.git test: Resource resource leak with 'tmp_vols' --- diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 3e082a423d..0e1d90ca19 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -4687,6 +4687,7 @@ testStoragePoolListAllVolumes(virStoragePoolPtr obj, if (tmp_vols[i]) virStorageVolFree(tmp_vols[i]); } + VIR_FREE(tmp_vols); } if (pool)