Fix #132148: Assert using rendered animation playback

Don't close file handle twice.
This commit is contained in:
Brecht Van Lommel
2025-01-22 15:50:19 +01:00
parent 053d817a75
commit e31077ca4c

View File

@@ -134,7 +134,6 @@ static bool buffer_from_filepath(const char *filepath,
size_read);
}
else {
close(file);
*r_size = size;
if (r_mem) {
*r_mem = mem;