QArrayDataPointer: skip deallocate detour
We never made use of it since its introduction in 5.0, and calling free directly reduces the size of libQtCore by roughly ~100kb. Change-Id: I7dbdac83c82fa38d1833a4677fc83ebe809a11ef Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
49ddb4b28a
commit
a956b7a9b7
@ -92,7 +92,7 @@ public:
|
||||
{
|
||||
if (!deref()) {
|
||||
(*this)->destroyAll();
|
||||
Data::deallocate(d);
|
||||
free(d);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user