From fcf60e35a312e8a5048b9b86ec996e606749b266 Mon Sep 17 00:00:00 2001 From: Sergei Gavrilov Date: Wed, 10 Jul 2024 20:45:52 +0100 Subject: [PATCH] tar archive: fix double free (#3781) Co-authored-by: hedger --- lib/toolbox/tar/tar_archive.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/toolbox/tar/tar_archive.c b/lib/toolbox/tar/tar_archive.c index e7400fe98b..739627efda 100644 --- a/lib/toolbox/tar/tar_archive.c +++ b/lib/toolbox/tar/tar_archive.c @@ -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;