Commit f1aa796
committed
Add missing nil pointer check
Fixes #189.
This fixes some unchecked pointer accesses in the cache package.
Independently of how errors are handled, these checks should be in place.
Proper error handling as discussed in #189 and #181 can happen separately.
Signed-off-by: Tobias Guggenmos <[email protected]>1 parent 4e7ee5f commit f1aa796
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
| |||
204 | 208 | | |
205 | 209 | | |
206 | 210 | | |
207 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
| |||
0 commit comments