diff --git a/src/cpcformats.c b/src/cpcformats.c index 55027808..cb989fb5 100644 --- a/src/cpcformats.c +++ b/src/cpcformats.c @@ -773,6 +773,7 @@ void Load_GOS(T_IO_Context* context) } fclose(file); + free(pixel_data); file = Open_file_read_with_alternate_ext(context, "KIT"); if (file == NULL) {