fix: katabasis and QStyle leaks

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2023-05-25 16:16:58 -07:00
parent 6b8fe283f0
commit e61d8e4dc8
2 changed files with 7 additions and 2 deletions

View File

@ -40,6 +40,8 @@ void ReplyList::remove(QNetworkReply *reply) {
if (o2Reply) {
o2Reply->stop();
(void)replies_.removeOne(o2Reply);
// we took ownership, we must free
delete o2Reply;
}
}