summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDebao Zhang <dbzhang800@gmail.com>2012-04-27 01:53:37 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-20 11:26:59 +0200
commitf8bdb6fd195ec04e5b49e84a5077c012d95ff58d (patch)
treee7b6c528c610fc8974a3f5261f3e37a2e165d4d0 /tests
parent571af8ce7731b9bf66e1f1533ad78797d9080943 (diff)
qMalloc, qFree and qRealloc are deprecated.
Use the stdlib version directly instead Change-Id: Ib289b37c9a00b7da1926e20cc1c1b5a52388fb2f Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qscriptv8testsuite/abstracttestsuite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp
index d6eec1d..866edbd 100644
--- a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp
+++ b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp
@@ -320,7 +320,7 @@ AbstractTestSuite::AbstractTestSuite(const QByteArray &className,
AbstractTestSuite::~AbstractTestSuite()
{
- qFree(dynamicMetaObject);
+ free(dynamicMetaObject);
}
void AbstractTestSuite::addTestFunction(const QString &name,