diff options
author | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2016-01-15 16:07:04 +0100 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2016-02-01 07:35:16 +0000 |
commit | ad77422e824df3556984b793d5b304a87d7c757b (patch) | |
tree | 5f1fa4a74bea630d83c781bed14b65ca65253980 /src/corelib/kernel/qsharedmemory_android.cpp | |
parent | 1e370a45bf2cc770371026c3ad05d4f7d26be3a0 (diff) |
Fix memory leak if QMetaType::create is called for an unknown type
The memory should be allocated only if we operates on a valid type,
It is a regression introduced by 3d575d4845926bd141ff0c14e57427bba79644d0
Change-Id: Ia31bccd5b41fe090c29df1aeaa69efb706cd25bb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qsharedmemory_android.cpp')
0 files changed, 0 insertions, 0 deletions