Skip to content

Commit c7ce99b

Browse files
Merge pull request #41 from drakenclimber/coverity
adaptived: effects: Fix coverity warning in cgroup_setting_psi_init()
2 parents b38dad0 + b1da659 commit c7ce99b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adaptived/src/effects/cgroup_setting_by_psi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ int cgroup_setting_psi_init(struct adaptived_effect * const eff, struct json_obj
7272
goto error;
7373
}
7474
opts->cgroup_path = NULL;
75+
opts->cgroup_setting = NULL;
7576
opts->value.type = ADAPTIVED_CGVAL_CNT;
7677
opts->limit.type = ADAPTIVED_CGVAL_CNT;
7778
opts->limit_provided = false;

0 commit comments

Comments
 (0)