提交 0b79971b 编写于 作者: J John Ferlan 提交者: Ján Tomko

lxc: Initialize dst due to potential cleanup usage before setting

上级 25812705
......@@ -3102,7 +3102,7 @@ lxcDomainAttachDeviceDiskLive(virLXCDriverPtr driver,
virDomainDiskDefPtr def = dev->data.disk;
virCgroupPtr group = NULL;
int ret = -1;
char *dst;
char *dst = NULL;
struct stat sb;
bool created = false;
mode_t mode = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册