mirror of https://gitee.com/openkylin/libvirt.git
storage: Need to add virCommandFree()
This commit is contained in:
parent
a2b36ec5db
commit
5e556b60c9
|
@ -648,6 +648,8 @@ virStorageBackendExecuteMKFS(const char *device,
|
|||
format, device);
|
||||
ret = -1;
|
||||
}
|
||||
|
||||
virCommandFree(cmd);
|
||||
return ret;
|
||||
}
|
||||
#else /* #ifdef MKFS */
|
||||
|
|
Loading…
Reference in New Issue