cgroup.c: don't leak mem+FD upon OOM
* src/util/cgroup.c (virCgroupDetectPlacement): Close the mapping FILE* also upon error.
Showing
想要评论请 注册 或 登录
* src/util/cgroup.c (virCgroupDetectPlacement): Close the mapping FILE* also upon error.