diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-11 09:30:09 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-11 09:30:09 (GMT) |
commit | 631a574fbefb6f7c104ebbf1f4da4c02267030a7 (patch) | |
tree | d8338f36fa33f840487e94d2917b220cacc590aa /src/declarative/qml/qdeclarativevme_p.h | |
parent | dc234e69f73ec7d83a0e63b7bdf197f88bc1fad9 (diff) | |
download | Qt-631a574fbefb6f7c104ebbf1f4da4c02267030a7.zip Qt-631a574fbefb6f7c104ebbf1f4da4c02267030a7.tar.gz Qt-631a574fbefb6f7c104ebbf1f4da4c02267030a7.tar.bz2 |
Crash
Diffstat (limited to 'src/declarative/qml/qdeclarativevme_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativevme_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativevme_p.h b/src/declarative/qml/qdeclarativevme_p.h index 951f6a7..bcd3ac9 100644 --- a/src/declarative/qml/qdeclarativevme_p.h +++ b/src/declarative/qml/qdeclarativevme_p.h @@ -71,7 +71,7 @@ template<typename T, int N = 128> class QDeclarativeVMEStack { public: QDeclarativeVMEStack() : index(-1), maxSize(N), data(fixedData) {} - ~QDeclarativeVMEStack() { if (data != fixedData) qFree(fixedData); } + ~QDeclarativeVMEStack() { if (data != fixedData) qFree(data); } bool isEmpty() const { return index == -1; } const T &top() const { return data[index]; } |