Load_GOS(): fix memory leak

This commit is contained in:
Thomas Bernard
2019-12-08 12:42:12 +01:00
parent bba018de51
commit 3bccb65691

View File

@@ -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) {