diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index cf7b62c8c9..a6efaa43f3 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; }