From 10cc53b3bbbcb929038a9649080b0e7f20cc0238 Mon Sep 17 00:00:00 2001 From: Yevhen Kozirovskyi Date: Sun, 19 Jan 2025 17:21:02 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20sk1/compressor.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sk1/compressor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sk1/compressor.c b/sk1/compressor.c index 10db640..e04927a 100644 --- a/sk1/compressor.c +++ b/sk1/compressor.c @@ -217,7 +217,7 @@ int compressFile(const char* input_file_name, const char* output_file_name) { byte <<= (8 - bitCount); fwrite(&byte, sizeof(unsigned char), 1, outputFile); } - + freeHuffmanTree(root); fclose(inputFile); fclose(outputFile); return 0; @@ -270,7 +270,7 @@ int decompressFile(const char* input_file_name, const char* output_file_name) { } } } - + freeHuffmanTree(root); fclose(inputFile); fclose(outputFile); return 0;