提交 96e8565d 编写于 作者: J John Ferlan 提交者: Michal Privoznik

util: Need to add virCommandFree()

上级 5e556b60
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册