summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qtiffhandler.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-15 11:29:45 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-15 11:29:45 (GMT)
commitc2f542ee646b8e4bd87e6078dc9c83b661229f41 (patch)
treea5ba8e6d3fde292f027d65c58f8924dc2eadabf8 /src/gui/image/qtiffhandler.cpp
parent4068aab604b566b33cb8caf360b328232d12ba46 (diff)
parenteafec04685e0a1e5ea1fe32dbc562c5dfa2abfb1 (diff)
downloadQt-c2f542ee646b8e4bd87e6078dc9c83b661229f41.zip
Qt-c2f542ee646b8e4bd87e6078dc9c83b661229f41.tar.gz
Qt-c2f542ee646b8e4bd87e6078dc9c83b661229f41.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (55 commits) Fix autotest failure caused by commit 92365268 Cleanup changelog for 4.7.1. QNAM: Do not need QNetworkSession for data:// Workaround for QFileSystemWatcher regression Revert "qmake: pass include directories to MS resource compiler" Fix User 46 Panic in bearer management on Symbian. Assistant: Insert all keywords with empty ids, as ids are not mendatory. qmake: delete .pdb file when making 'distclean' instead of 'clean' qmake: pass include directories to MS resource compiler use specified pkg-config qmake/symbian: Add icons with backslashes in pkg files Make qtconfig help messages translatable remove exec bits again ... Add TIFFClose to QTIffHandler::option() to avoid memory leak [QCocoaView scrollWheel:] can end up recursing infinitely when a scrollWheel event is sent to two stacked MDI windows Added missing QtWebKit example files and some whitespace fixes. Added missing native separator transforms. Doc: tuning search reasult box qdoc: Don't generate html output for png files. Doc: Correcting Windows CE 6.0 to Windows Embedded CE 6.0 ...
Diffstat (limited to 'src/gui/image/qtiffhandler.cpp')
-rw-r--r--src/gui/image/qtiffhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/image/qtiffhandler.cpp b/src/gui/image/qtiffhandler.cpp
index de4f680..1627917 100644
--- a/src/gui/image/qtiffhandler.cpp
+++ b/src/gui/image/qtiffhandler.cpp
@@ -608,6 +608,7 @@ QVariant QTiffHandler::option(ImageOption option) const
TIFFGetField(tiff, TIFFTAG_IMAGEWIDTH, &width);
TIFFGetField(tiff, TIFFTAG_IMAGELENGTH, &height);
imageSize = QSize(width, height);
+ TIFFClose(tiff);
}
device()->seek(pos);
if (imageSize.isValid())