diff options
Diffstat (limited to 'src/qml/qml/ftw/qfinitestack_p.h')
-rw-r--r-- | src/qml/qml/ftw/qfinitestack_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/ftw/qfinitestack_p.h b/src/qml/qml/ftw/qfinitestack_p.h index c5a9fbaedb..8ebcd062a7 100644 --- a/src/qml/qml/ftw/qfinitestack_p.h +++ b/src/qml/qml/ftw/qfinitestack_p.h @@ -160,7 +160,7 @@ void QFiniteStack<T>::allocate(int size) if (!size) return; - _array = (T *)qMalloc(size * sizeof(T)); + _array = (T *)malloc(size * sizeof(T)); _alloc = size; } @@ -173,7 +173,7 @@ void QFiniteStack<T>::deallocate() (--i)->~T(); } - qFree(_array); + free(_array); _array = 0; _alloc = 0; |