From cbd5dc09e8dba792933355540c1e01286abd275b Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Mon, 4 Feb 2013 09:58:38 -0500 Subject: [PATCH] vport_profile_conf: Resolve memory leak found by Valgrind The 'virtPortInterfaceID' was not VIR_FREE()'d --- src/conf/netdev_vport_profile_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/netdev_vport_profile_conf.c b/src/conf/netdev_vport_profile_conf.c index 701e17e07c..47f51f9592 100644 --- a/src/conf/netdev_vport_profile_conf.c +++ b/src/conf/netdev_vport_profile_conf.c @@ -198,6 +198,7 @@ cleanup: VIR_FREE(virtPortInstanceID); VIR_FREE(virtPortProfileID); VIR_FREE(virtPortType); + VIR_FREE(virtPortInterfaceID); return virtPort; -- GitLab