From 5a2bb3c9c613244db77c64d9542f6e1a12a88835 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Sun, 17 Jan 2010 19:38:45 +0800
Subject: [PATCH] BUG: fix segfault

---
 Code/IO/otbImageFileReader.txx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/IO/otbImageFileReader.txx b/Code/IO/otbImageFileReader.txx
index 7fc06d715d..7c51ba6c13 100644
--- a/Code/IO/otbImageFileReader.txx
+++ b/Code/IO/otbImageFileReader.txx
@@ -380,7 +380,7 @@ ImageFileReader<TOutputImage>
          if (projection)
            {
              hasMetaData = projection->saveState(geom_kwl);
-             delete projection;
+//             delete projection; //FIXME find out where this should occur
            }
        }
       // Free memory
-- 
GitLab