lxc: Initialize dst due to potential cleanup usage before setting

This commit is contained in:
John Ferlan 2013-01-08 10:41:00 -05:00 committed by Ján Tomko
parent 2581270527
commit 0b79971b84

View File

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