fix: chunk_decompress compilation, chunk_compress data ptr, chunk_format serialization, file_destroy leak, test_chunk memcmp

This commit is contained in:
2026-07-04 21:02:59 +02:00
parent e6c55356c8
commit 1486ac7088
3 changed files with 44 additions and 39 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void file_destroy(void *item) {
if (item == NULL)
return;
File *file = (File *)item;
free(file->data);
data_destroy(file->data);
file->data = NULL;
free(file->path);
file->path = NULL;