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

drakenclimber / libcgroup / 13140969669
56%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2025 05:12PM 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.425% (-0.02%) from 59.449%
13140969669

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%)

287 existing lines in 3 files now uncovered.

5870 of 9878 relevant lines covered (59.42%)

1008.37 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
3
63.3
-0.09% src/api.c
282
35.53
-0.06% src/config.c
Jobs
ID Job ID Ran Files Coverage
1 No systemd Functional Tests - 13140969669.1 04 Feb 2025 05:14PM UTC 26
49.28
GitHub Action Run
2 Unit Tests - 13140969669.2 04 Feb 2025 05:12PM UTC 35
10.75
GitHub Action Run
3 Cgroup v1/v2 Functional Tests - 13140969669.3 04 Feb 2025 05:16PM UTC 26
53.85
GitHub Action Run
4 Cgroup v1 Functional Tests - 13140969669.4 04 Feb 2025 05:15PM UTC 26
44.27
GitHub Action Run
5 Cgroup v2 Functional Tests - 13140969669.5 04 Feb 2025 05:14PM UTC 27
45.75
GitHub Action Run
Source Files on build 13140969669
  • Tree
  • List 38
  • Changed 12
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d0c4cfd7 on github
  • Prev Build on main (#12813845538)
  • Next Build on main (#13401303206)
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