mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 04:41:26 +04:00
tar archive: fix double free (#3781)
Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user