From d402acbc892a8cf447acece100357694188a69e6 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Fri, 6 Jan 2012 19:20:55 +0100 Subject: Remove out-of-line uses of qMalloc/qFree/qRealloc. Per http://codereview.qt-project.org/#change,11562, we are trying to remove these in favour of direct allocation, or (in the case of inline code) specialised out-of-line wrappers. Change-Id: I113609c4f97dc5c8020a72cbd398572cdb5b7505 Reviewed-by: Aaron Kennedy --- src/quick/items/qquickvisualadaptormodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/items/qquickvisualadaptormodel.cpp') diff --git a/src/quick/items/qquickvisualadaptormodel.cpp b/src/quick/items/qquickvisualadaptormodel.cpp index 89e611cb5f..66c26ddf44 100644 --- a/src/quick/items/qquickvisualadaptormodel.cpp +++ b/src/quick/items/qquickvisualadaptormodel.cpp @@ -82,7 +82,7 @@ public: { if (propertyCache) propertyCache->release(); - qFree(metaObject); + free(metaObject); } QMetaObject *metaObject; @@ -642,7 +642,7 @@ public: } if (m_type->metaObject) - qFree(m_type->metaObject); + free(m_type->metaObject); m_type->metaObject = m_type->builder.toMetaObject(); *static_cast(this) = *m_type->metaObject; -- cgit v1.2.3