Skip to content

Commit d4e7426

Browse files
committed
Fix crash trying to read a density file.
1 parent c661589 commit d4e7426

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/core/material/pattern.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9287,8 +9287,6 @@ void Read_Density_File(IStream *file, DENSITY_FILE *df)
92879287
}
92889288
else
92899289
throw POV_EXCEPTION_STRING("Invalid density file size");
9290-
9291-
delete file;
92929290
}
92939291
}
92949292

0 commit comments

Comments
 (0)