diff options
Diffstat (limited to 'firmware/linuxboot.c')
-rw-r--r-- | firmware/linuxboot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/linuxboot.c b/firmware/linuxboot.c index f9732f6ace..419044b5a9 100644 --- a/firmware/linuxboot.c +++ b/firmware/linuxboot.c | |||
@@ -221,8 +221,7 @@ int uimage_load(struct uimage_header* uh, size_t* out_size, | |||
221 | ret = 0; | 221 | ret = 0; |
222 | 222 | ||
223 | err: | 223 | err: |
224 | if(state_h > 0) | 224 | core_free(state_h); |
225 | core_free(state_h); | ||
226 | if(out_h > 0) { | 225 | if(out_h > 0) { |
227 | if(ret == 0) | 226 | if(ret == 0) |
228 | ret = out_h; | 227 | ret = out_h; |