提交 617075f4 编写于 作者: D David Allan 提交者: Daniel Veillard

Fixed reference count in virsh pool-build command

* tools/virsh.c: call virStoragePoolFree() in the main path too
上级 d5739ab5
......@@ -4036,9 +4036,10 @@ cmdPoolBuild(vshControl *ctl, const vshCmd *cmd)
} else {
vshError(ctl, _("Failed to build pool %s"), name);
ret = FALSE;
virStoragePoolFree(pool);
}
virStoragePoolFree(pool);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册