提交 c247ff55 编写于 作者: M Michal Privoznik

qemu_domain: Don't leak @paths in qemuDomainNamespaceSetupDisk

Introduced in d3db304d. Instead of returning immediately we
need to jump onto cleanup label where @paths is freed.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 53f94377
......@@ -11199,7 +11199,7 @@ qemuDomainNamespaceSetupDisk(virDomainObjPtr vm,
}
if (qemuDomainNamespaceMknodPaths(vm, paths, npaths) < 0)
return -1;
goto cleanup;
ret = 0;
cleanup:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册