aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw/qrecyclepool_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/ftw/qrecyclepool_p.h')
-rw-r--r--src/qml/qml/ftw/qrecyclepool_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/ftw/qrecyclepool_p.h b/src/qml/qml/ftw/qrecyclepool_p.h
index 8d0f060ab3..002eee4885 100644
--- a/src/qml/qml/ftw/qrecyclepool_p.h
+++ b/src/qml/qml/ftw/qrecyclepool_p.h
@@ -170,7 +170,7 @@ void QRecyclePoolPrivate<T, Step>::releaseIfPossible()
Page *p = currentPage;
while (p) {
Page *n = p->nextPage;
- qFree(p);
+ free(p);
p = n;
}
@@ -188,7 +188,7 @@ T *QRecyclePoolPrivate<T, Step>::allocate()
rv = (PoolType *)(currentPage->array + (Step - currentPage->free) * sizeof(PoolType));
currentPage->free--;
} else {
- Page *p = (Page *)qMalloc(sizeof(Page));
+ Page *p = (Page *)malloc(sizeof(Page));
p->nextPage = currentPage;
p->free = Step;
currentPage = p;