In check_all_cpu_dscr_defaults, opendir() opens the directory stream.
Add missing closedir() in the error path to release it.
In check_cpu_dscr_default, open() creates an open file descriptor.
Add missing close() in the error path to release it.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
dscr.h | ||
dscr_default_test.c | ||
dscr_explicit_test.c | ||
dscr_inherit_exec_test.c | ||
dscr_inherit_test.c | ||
dscr_sysfs_test.c | ||
dscr_sysfs_thread_test.c | ||
dscr_user_test.c | ||
Makefile | ||
settings |