mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 14:51:52 +03:00
tar archive: fix double free (#3781)
Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
parent
d879b254d6
commit
fcf60e35a3
@ -91,7 +91,6 @@ static int mtar_heatshrink_file_close(void* stream) {
|
||||
compress_stream_decoder_free(hs_stream->decoder);
|
||||
}
|
||||
storage_file_close(hs_stream->stream);
|
||||
storage_file_free(hs_stream->stream);
|
||||
free(hs_stream);
|
||||
}
|
||||
return MTAR_ESUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user