diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-07-03 16:34:19 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2017-07-04 05:02:11 +0000 |
commit | 0d97babf2ffcc3762e2398c319786a0f78df8aa6 (patch) | |
tree | fc6051774311ce418849ba24ec7180bf59b56aaf /src/corelib/mimetypes | |
parent | 2f8a08f31b1bfdc18766bae4983d238ee1cf716c (diff) |
QSslSocket - fix two memory management issues (Secure Transport)
I noticed we never release 'items' imported by SecPKCS12Import.
But looking at the actual code (SecImportExport.c), it appears
we own these 'items' and must release them. And this leads to a crash
(on over-release) which reveals another bug: a value from a dictionary
obtained with 'Get' method should follow the 'get rule' - we do not
own it and QCFType RAII object is not needed.
Change-Id: I219015fadedb256c401e50cf7e955f3d7e0a6c5f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/mimetypes')
0 files changed, 0 insertions, 0 deletions