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

libcgroup / libcgroup / 13080697162
56%

Build:
DEFAULT BRANCH: main
Ran 31 Jan 2025 09:02PM UTC
Jobs 5
Files 38
Run time 1min
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

31 Jan 2025 08:59PM UTC coverage: 59.395% (-0.01%) from 59.407%
13080697162

push

github

drakenclimber
tools-common.c: Fix resource leak in cgroup_string_list_add_directory()

Fix a Coverity warning about resource leak:

CID 465889: (#4 of 4): Resource leak (RESOURCE_LEAK)
32. leaked_storage: Variable fullpath going out of scope leaks the
storage it points to.

Fix it by releasing the 'fullpath', when file name does not matches
'*.conf' code path(s).

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

2 of 4 new or added lines in 1 file covered. (50.0%)

2 existing lines in 1 file now uncovered.

5867 of 9878 relevant lines covered (59.39%)

1040.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
64.71
-0.77% src/tools/tools-common.c

Uncovered Existing Lines

Lines Coverage ∆ File
2
64.71
-0.77% src/tools/tools-common.c
Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1 Functional Tests - 13080697162.1 31 Jan 2025 09:05PM UTC 26
44.3
GitHub Action Run
2 Unit Tests - 13080697162.2 31 Jan 2025 09:02PM UTC 35
10.75
GitHub Action Run
3 No systemd Functional Tests - 13080697162.3 31 Jan 2025 09:04PM UTC 26
49.32
GitHub Action Run
4 Cgroup v1/v2 Functional Tests - 13080697162.4 31 Jan 2025 09:06PM UTC 26
53.81
GitHub Action Run
5 Cgroup v2 Functional Tests - 13080697162.5 31 Jan 2025 09:05PM UTC 27
45.75
GitHub Action Run
Source Files on build 13080697162
  • Tree
  • List 38
  • Changed 9
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d0c4cfd7 on github
  • Prev Build on main (#12991983198)
  • Next Build on main (#13423061212)
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