KRemoteEncoding::encoding: don't return temporary. Found with clazy.
ClosedPublic

Authored by chehrlic on Dec 14 2019, 4:32 PM.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
chehrlic created this revision.Dec 14 2019, 4:32 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 14 2019, 4:32 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
chehrlic requested review of this revision.Dec 14 2019, 4:32 PM

Good catch.

It was clazy, not me - just wanted to fix a memleak in kio :)

dfaure accepted this revision.Dec 14 2019, 9:06 PM
This revision is now accepted and ready to land.Dec 14 2019, 9:06 PM
This revision was automatically updated to reflect the committed changes.