commit 625e50810fc994bfbb938c804cc18c6d31184732
parent 359e1cebe71cc74882e03c25269a7d72e1d7a819
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 9 Jul 2005 14:53:32 +0000
leakfix
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/plugins/exiv2/exiv2extractor.cc b/src/plugins/exiv2/exiv2extractor.cc
@@ -256,6 +256,7 @@ extern "C" {
EXTRACTOR_EXPOSURE_MODE,
result);
}
+ result = newResult;
// Metering mode
result = addExiv2Tag(exifData,
@@ -418,7 +419,9 @@ extern "C" {
result);
}
catch (const Exiv2::AnyError& e) {
+#ifndef SUPPRESS_WARNINGS
std::cout << "Caught Exiv2 exception '" << e << "'\n";
+#endif
}
return result;