summaryrefslogtreecommitdiffstats
path: root/src/script/parser/qscriptparser.cpp
diff options
context:
space:
mode:
authorDebao Zhang <[email protected]>2012-04-27 01:53:37 -0700
committerQt by Nokia <[email protected]>2012-05-20 11:26:59 +0200
commitf8bdb6fd195ec04e5b49e84a5077c012d95ff58d (patch)
treee7b6c528c610fc8974a3f5261f3e37a2e165d4d0 /src/script/parser/qscriptparser.cpp
parent571af8ce7731b9bf66e1f1533ad78797d9080943 (diff)
qMalloc, qFree and qRealloc are deprecated.
Use the stdlib version directly instead Change-Id: Ib289b37c9a00b7da1926e20cc1c1b5a52388fb2f Reviewed-by: Rohan McGovern <[email protected]> Reviewed-by: Olivier Goffart <[email protected]>
Diffstat (limited to 'src/script/parser/qscriptparser.cpp')
-rw-r--r--src/script/parser/qscriptparser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/parser/qscriptparser.cpp b/src/script/parser/qscriptparser.cpp
index 650ab98..46b6f42 100644
--- a/src/script/parser/qscriptparser.cpp
+++ b/src/script/parser/qscriptparser.cpp
@@ -66,9 +66,9 @@ QScriptParser::QScriptParser():
QScriptParser::~QScriptParser()
{
if (stack_size) {
- qFree(sym_stack);
- qFree(state_stack);
- qFree(location_stack);
+ free(sym_stack);
+ free(state_stack);
+ free(location_stack);
}
}