summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-05-03 10:49:23 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-05-03 10:49:23 (GMT)
commit6e8d2cc5e5fa54a8ed531f9112f27a3fd6fe2356 (patch)
tree1df35742e9bce6818a2dd54d63b453331c58b7fa
parentfef0ec67bf1b49221b3f383f6ea1c9a65fc08c57 (diff)
parentb3ff31825d9c3e9d139565024d424eb03299b5f5 (diff)
downloadQt-6e8d2cc5e5fa54a8ed531f9112f27a3fd6fe2356.zip
Qt-6e8d2cc5e5fa54a8ed531f9112f27a3fd6fe2356.tar.gz
Qt-6e8d2cc5e5fa54a8ed531f9112f27a3fd6fe2356.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fixing small memory leak in testlib.
-rw-r--r--src/testlib/qplaintestlogger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testlib/qplaintestlogger.cpp b/src/testlib/qplaintestlogger.cpp
index 0888cfc..d516f62 100644
--- a/src/testlib/qplaintestlogger.cpp
+++ b/src/testlib/qplaintestlogger.cpp
@@ -181,6 +181,7 @@ namespace QTest {
hbuffer->Des().Copy(ptr.Mid(i, size));
RDebug::Print(format, hbuffer);
}
+ delete hbuffer;
}
else {
// fast, no allocations, but truncates silently