commit | d23a0c3718222a42430fd56359478a6fc7675070 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Tue Feb 08 15:26:18 2022 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Thu Feb 10 09:17:26 2022 +0900 |
tree | 8795d50d15a90ce4fb5712b6851c5dd9a020a98d | |
parent | 1cf5f151d25fcca94689efd91afa0253621fb33a [diff] |
kconfig: fix missing fclose() on error paths The file is not closed when ferror() fails. Fixes: 00d674cb3536 ("kconfig: refactor conf_write_dep()") Fixes: 57ddd07c4560 ("kconfig: refactor conf_write_autoconf()") Reported-by: Ryan Cai <ycaibb@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>