summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcombobox.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@kdab.com>2020-03-20 14:05:34 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-03-25 01:15:51 +0100
commitb15ed929f3f481914bf96203e691a552f6d9fe00 (patch)
tree2f5399ecac673a6b4af7f552070c98a58d557058 /src/widgets/widgets/qcombobox.cpp
parent1d5eb202b928dc7c73fc0fc4eb480817b339c68a (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> (cherry picked from commit 20eabb72de94ddcef3c36b5cad0ce88944d42f8c)
Diffstat (limited to 'src/widgets/widgets/qcombobox.cpp')
0 files changed, 0 insertions, 0 deletions