Skip to content
Commit d23a0c37 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: fix missing fclose() on error paths

The file is not closed when ferror() fails.

Fixes: 00d674cb ("kconfig: refactor conf_write_dep()")
Fixes: 57ddd07c

 ("kconfig: refactor conf_write_autoconf()")
Reported-by: default avatarRyan Cai <ycaibb@gmail.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 1cf5f151
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment