util: Need to add virCommandFree()

This commit is contained in:
John Ferlan 2013-01-23 17:04:47 -05:00 committed by Michal Privoznik
parent 5e556b60c9
commit 96e8565de6

View File

@ -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;
}