D15241: Fix double delete bug in OutputWidget
noreply at phabricator.kde.org
Mon Sep 3 14:13:02 BST 2018
vkorneev created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
vkorneev requested review of this revision.
The bug was unfortunately introduced in D14931 <https://phabricator.kde.org/D14931> by me - two shared pointers
were created from the same raw pointer. Eliminated it by using QSharedPointer
as a return value from view creation helper lambda.
The bug can be triggered only in IOutputView:OneView widget mode, which is (as
far as I can see) currently neither used, nor properly tested. Planning to change
this in following patches.
fix_outputwidget_bug (branched from master)
Cc: kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel