diff --git a/src/util/cgroup.c b/src/util/cgroup.c index e6f027059a69033e2943ac2c00bb74bfc427f009..4446c7f1ea86c6f3154b40544a507690add3b3e1 100644 --- a/src/util/cgroup.c +++ b/src/util/cgroup.c @@ -183,6 +183,7 @@ static int virCgroupDetectPlacement(virCgroupPtr group) return 0; no_memory: + fclose(mapping); return -ENOMEM; }