diff options
author | Giulio Camuffo <giulio.camuffo@kdab.com> | 2020-03-20 14:05:34 +0100 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@kdab.com> | 2020-03-23 16:47:22 +0100 |
commit | 20eabb72de94ddcef3c36b5cad0ce88944d42f8c (patch) | |
tree | ab115c46707f3ac5ab143d518b0bb9c3f7b36c2c /src/corelib/thread/qfuture_impl.h | |
parent | 7e4361ffbde92f1530ea8b8ea586db05463de1da (diff) |
Fix memory leak
When creating a new QColorSpacePrivate it must be reffed otherwise in
the destructor the deref() will bring the count to -1 which is true
and will not delete the d_ptr.
Change-Id: Id569bae22134b56bf6ad37158d7079b495599fd7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/thread/qfuture_impl.h')
0 files changed, 0 insertions, 0 deletions