qt5base-lts/tests/auto/corelib/kernel/qmetaobjectbuilder
Robin Burchell 47728445a5 Remove all calls to, and deprecate qMalloc, qRealloc and qFree.
Callers should just call the standard allocation functions directly.

Adding an extra function call onto all basic memory management for the sake of
making it instrumentable in rare cases isn't really fair to everyone else.

What's more, this wasn't completely reliable, as not everything was using them
in a number of places. Memory management can still be overridden using tricks
like LD_PRELOAD if needed.

Their aligned equivilents cannot be deprecated, as no standard equivilents
exist, although investigation into posix_memalign(3) is a possibility
for the future.

Change-Id: Ic5f74b14be33f8bc188fe7236c55e15c36a23fc7
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-03-31 16:46:40 +02:00
..
qmetaobjectbuilder.pro Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
tst_qmetaobjectbuilder.cpp Remove all calls to, and deprecate qMalloc, qRealloc and qFree. 2012-03-31 16:46:40 +02:00