Ref KConfig whilst we're using it

Authored by davidedmundson on Jun 19 2018, 8:02 AM.

Description

Ref KConfig whilst we're using it

Summary:
In current code we would have a KConfigGroup with a dangling KConfig
deleted after the RHS for the group fetch has finished.

BUG: 394534

Test Plan:
Wrote minimal test case of code
It produced a valgrind warning (weirdly didn't crash though)
Modified to correct version
No longer any warnings

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D13599

Details

Committed
davidedmundsonJun 19 2018, 8:02 AM
Differential Revision
D13599: Ref KConfig whilst we're using it
Parents
R119:cfe05561b1e5: Merge branch 'Plasma/5.12' into Plasma/5.13
Branches
Unknown
Tags
Unknown