mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +00:00
lxc: Initialize dst due to potential cleanup usage before setting
This commit is contained in:
parent
2581270527
commit
0b79971b84
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user