1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 20:59:50 +04:00

tar archive: fix double free (#3781)

Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
Sergei Gavrilov
2024-07-10 20:45:52 +01:00
committed by GitHub
parent d879b254d6
commit fcf60e35a3

View File

@@ -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;