Load_GOS(): fix memory leak

This commit is contained in:
Thomas Bernard 2019-12-08 12:42:12 +01:00
parent bba018de51
commit 3bccb65691
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

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