Fix memory leak of HotSpot
ClosedPublic

Authored by hallas on Mar 9 2019, 4:44 PM.

Details

Summary

Fixes memory leaf of HotSpots. This is caused by the Filter::reset()
function failing to delete the allocated HotSpots before clearing the
list.

Test Plan

Compile konsole with address sanitizer
Select a link in the terminal
Close konsole

Diff Detail

Repository
R319 Konsole
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
hallas created this revision.Mar 9 2019, 4:44 PM
Restricted Application added a project: Konsole. · View Herald TranscriptMar 9 2019, 4:44 PM
Restricted Application added a subscriber: konsole-devel. · View Herald Transcript
hallas requested review of this revision.Mar 9 2019, 4:44 PM
hindenburg accepted this revision.Mar 13 2019, 2:44 PM
hindenburg added a subscriber: hindenburg.

Thanks

This revision is now accepted and ready to land.Mar 13 2019, 2:44 PM
This revision was automatically updated to reflect the committed changes.