Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
1031-erts-Fix-memory-leak-in-cgroup2-cpu-quota-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1031-erts-Fix-memory-leak-in-cgroup2-cpu-quota-handling.patch of Package erlang
From 8a399e51297ba92ba294ac155c96be68ab91d0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org> Date: Tue, 2 Apr 2024 11:34:58 +0200 Subject: [PATCH] erts: Fix memory leak in cgroup2 cpu quota handling --- erts/lib_src/common/erl_misc_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erts/lib_src/common/erl_misc_utils.c b/erts/lib_src/common/erl_misc_utils.c index 35291a1fbb..767c8579e2 100644 --- a/erts/lib_src/common/erl_misc_utils.c +++ b/erts/lib_src/common/erl_misc_utils.c @@ -1289,6 +1289,8 @@ read_cpu_quota(int limit) free((void*)cgroup_path); return calculate_cpu_quota(limit, cfs_quota_us, cfs_period_us); } + + free((void*)cgroup_path); break; default: break; -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor