summaryrefslogtreecommitdiffstats
path: root/src/corelib/xml
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2016-11-07 12:29:12 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2016-11-09 09:41:15 +0000
commit8ee65cd1f25d8a78b6cdba3e6ab6fa031468693c (patch)
tree2f6cec7a766537cc5efa373f308cc28b38891da0 /src/corelib/xml
parenta160fd52a1e121dfb237bfcddc305caa896df7dc (diff)
Correct a Q_CHECK_PTR()'s parameter
Someone cut-and-pasted but forgot one of the changes. Change-Id: I647dc8117ebfe8ce3d4b26d468b80c15d4e533e8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/xml')
-rw-r--r--src/corelib/xml/qxmlstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/xml/qxmlstream.cpp b/src/corelib/xml/qxmlstream.cpp
index ef7d454dca..6ad06eaed6 100644
--- a/src/corelib/xml/qxmlstream.cpp
+++ b/src/corelib/xml/qxmlstream.cpp
@@ -880,7 +880,7 @@ inline void QXmlStreamReaderPrivate::reallocateStack()
sym_stack = reinterpret_cast<Value*> (realloc(sym_stack, stack_size * sizeof(Value)));
Q_CHECK_PTR(sym_stack);
state_stack = reinterpret_cast<int*> (realloc(state_stack, stack_size * sizeof(int)));
- Q_CHECK_PTR(sym_stack);
+ Q_CHECK_PTR(state_stack);
}