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