storage: Need to add virCommandFree()

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

View File

@ -648,6 +648,8 @@ virStorageBackendExecuteMKFS(const char *device,
format, device);
ret = -1;
}
virCommandFree(cmd);
return ret;
}
#else /* #ifdef MKFS */