summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-01-04 19:47:28 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-01-04 19:47:28 +0100
commit40722f777c12c12b1080f1bccf8429288bb1502e (patch)
tree9b21e7a8695c4d00d14fd8058f9c65eb637e4edc /src/Panorama.cxx
parent94f00e4e823ffd21f7543b300c1b87c271bff280 (diff)
fix segfault with old gipfel format
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index 38cbd8c..1e3015a 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -233,6 +233,7 @@ Panorama::set_projection(ProjectionLSQ::Projection_t p) {
if (proj) {
delete proj;
+ proj = NULL;
}
switch(projection_type) {