summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/GipfelWidget.cxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 2e69429..1142c83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(gipfel, 0.2.1, Johannes.Hofmann@gmx.de)
+AC_INIT(gipfel, 0.2.2_pre2, Johannes.Hofmann@gmx.de)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/Panorama.H])
AC_CONFIG_HEADER(config.h)
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 3922cce..fdd2b4f 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -129,7 +129,6 @@ GipfelWidget::get_image_filename() {
int
GipfelWidget::save_image(char *file) {
- ImageMetaData *md;
int ret;
if (img_file == NULL) {
@@ -150,7 +149,6 @@ GipfelWidget::save_image(char *file) {
md->set_distortion_params(pan->parms.k0, pan->parms.k1, pan->parms.x0);
ret = md->save_image(img_file, file);
- delete md;
return ret;
}