[libvirt] [PATCH] Free ifname in testDomainGenerateIfnames

2 Sep
2014
2 Sep
'14
10:31 a.m.
https://bugzilla.redhat.com/show_bug.cgi?id=1135388 --- Pushed as trivial. 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 3b22cf6..9918d2c 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, -- 1.8.5.5
4014
Age (days ago)
4014
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ján Tomko