Commit 1701543
kconfiglib: Fix file leaks
Fixing a couple cases of a programming error where a file is not closed
in case of an exception, which was causing resource leak warnings in
some cases when encountering a kconfig error.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>1 parent da6ffc3 commit 1701543
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
| |||
3112 | 3112 | | |
3113 | 3113 | | |
3114 | 3114 | | |
3115 | | - | |
3116 | | - | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
3117 | 3119 | | |
3118 | 3120 | | |
3119 | 3121 | | |
| |||
0 commit comments