It's not really a problem since this is a helper process that
dies as soon as the helper function returns, but the cleanup code
will be replaced with a function soon and this change prepares
the code for that.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
virQEMUDriverPtr driver;
virDomainObjPtr vm;
const char *file;
- const char *target;
+ char *target;
GStatBuf sb;
void *acl;
#ifdef WITH_SELINUX
freecon(data->tcon);
# endif
virFileFreeACLs(&data->acl);
+ VIR_FREE(data->target);
return ret;
}