---
src/util/virnetdevopenvswitch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitch.c
index 47c3db8..4fe077a 100644
--- a/src/util/virnetdevopenvswitch.c
+++ b/src/util/virnetdevopenvswitch.c
@@ -211,6 +211,7 @@ int virNetDevOpenvswitchGetMigrateData(char **migrate, const char
*ifname)
(*migrate)[strlen(*migrate) - 1] = '\0';
ret = 0;
cleanup:
+ virCommandFree(cmd);
return ret;
}
@@ -242,5 +243,6 @@ int virNetDevOpenvswitchSetMigrateData(char *migrate, const char
*ifname)
ret = 0;
cleanup:
+ virCommandFree(cmd);
return ret;
}
--
1.7.11.7