D29616: Fix memory errors caused by using dangling pointers to SensorClients in SensorAgent

Anthony Fieroni noreply at phabricator.kde.org
Mon May 11 06:22:16 BST 2020


anthonyfieroni added inline comments.

INLINE COMMENTS

> SensorBrowser.cpp:53
> +    }
>      qDeleteAll( mHostInfoMap );
>      mHostInfoMap.clear();

When you delete the map content, all agents should loose their connections, no?

REPOSITORY
  R106 KSysguard

REVISION DETAIL
  https://phabricator.kde.org/D29616

To: jpalecek, davidedmundson, ahiemstra
Cc: anthonyfieroni, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200511/e7c11712/attachment.htm>


More information about the Plasma-devel mailing list