diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index 0c3667394d..6e6b82389d 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -3177,6 +3177,7 @@ cleanup: virDomainAuditDisk(vm, NULL, def->src, "attach", ret == 0); if (dst && created && ret < 0) unlink(dst); + VIR_FREE(dst); return ret; }