Repository navigation
Commit ab1f31e
committed
Fix #15215 (misra.py: analyse_ctu_info() does not close the ctu-info files)
Close the ctu-info files after reading them.
The files were only closed by the garbage collector, which gives a
ResourceWarning.1 parent 7b481f4 commit ab1f31e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4912 | 4912 | | |
4913 | 4913 | | |
4914 | 4914 | | |
| 4915 | + | |
| 4916 | + | |
| 4917 | + | |
| 4918 | + | |
4915 | 4919 | | |
4916 | 4920 | | |
4917 | | - | |
| 4921 | + | |
4918 | 4922 | | |
4919 | 4923 | | |
4920 | 4924 | | |
| |||
0 commit comments