Commit 1abc7ca
loader-protocol: NULL output variable in load_image on failure
Ensure we don't leave the image protocol installed if there
is a failure (e.g.: security violation) in the return
variable that the user gave us
Follow-up for 774f226
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>1 parent 2f64bb9 commit 1abc7ca
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
331 | 338 | | |
332 | 339 | | |
333 | 340 | | |
| |||
0 commit comments