• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

libcgroup / libcgroup / 5336463915
56%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2023 04:17PM UTC
Jobs 5
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5336463915

push

github

drakenclimber
tools/cgexec: fix memory leak in find_scope_pid()

Fix a memory leak, reported by the Coverity tool.

CID 321265 (#1-2 of 2): Resource leak (RESOURCE_LEAK)37. leaked_storage:
Variable pids going out of scope leaks the storage it points to.

find_scope_pid (), calls cgroup_get_procs() to get the pids of the
tasks under cgroup name, and it's up to the caller to free the allocated
pids. Fix it by calling free(pids) after every call to
cgroup_get_procs().

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

5531 of 9396 relevant lines covered (58.87%)

1076.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1/v2 Functional Tests - 5336463915.1 21 Jun 2023 04:20PM UTC 0
53.25
GitHub Action Run
2 Unit Tests - 5336463915.2 21 Jun 2023 04:17PM UTC 0
11.12
GitHub Action Run
3 Cgroup v1 Functional Tests - 5336463915.3 21 Jun 2023 04:19PM UTC 0
45.05
GitHub Action Run
4 Cgroup v2 Functional Tests - hybrid - 5336463915.4 21 Jun 2023 04:33PM UTC 0
52.25
GitHub Action Run
5 Cgroup v2 Functional Tests - unified - 5336463915.5 21 Jun 2023 04:34PM UTC 0
51.21
GitHub Action Run
Source Files on build 5336463915
Detailed source file information is not available for this build.
  • Back to Repo
  • 9a48fdc1 on github
  • Prev Build on main (#5336434310)
  • Next Build on main (#5336482449)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc