From 2125c9843b7e8c4ff1c0ff0973892ae17f94b7ae Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 21 Jul 2008 16:17:41 +0000 Subject: [PATCH] Moved the if (!buffer) check to infront of the memory initialization --- src/osgPlugins/tiff/ReaderWriterTIFF.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp index ee2703bc7..9153b35e0 100644 --- a/src/osgPlugins/tiff/ReaderWriterTIFF.cpp +++ b/src/osgPlugins/tiff/ReaderWriterTIFF.cpp @@ -499,7 +499,6 @@ simage_tiff_load(std::istream& fin, osg::notify(osg::INFO)<<"bytesperpixel="<