From 628c2255a9959b496f08dc501ae65a692ff9daa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Tue, 2 Sep 2014 11:54:05 +0200 Subject: [PATCH] Free ifname in testDomainGenerateIfnames https://bugzilla.redhat.com/show_bug.cgi?id=1135388 --- src/test/test_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 3b22cf6546..9918d2c4b0 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -521,6 +521,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef) if (!found) return ifname; + VIR_FREE(ifname); } virReportError(VIR_ERR_INTERNAL_ERROR,