Fix memory leak of HotSpot

Authored by hallas on Mar 13 2019, 2:17 PM.

Description

Fix memory leak of HotSpot

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

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: Konsole

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

Details

Committed
hindenburgMar 13 2019, 2:45 PM
Reviewer
Konsole
Differential Revision
D19636: Fix memory leak of HotSpot
Parents
R319:4a7a31b3fb75: port to std::stable_sort
Branches
Unknown
Tags
Unknown
References
refs/keep-around/7265be97a2e9d84c4e036d426ffb0085710d9361