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

Jiří Paleček noreply at phabricator.kde.org
Mon May 11 02:46:39 BST 2020


jpalecek created this revision.
jpalecek added reviewers: davidedmundson, ahiemstra.
Herald added a project: Plasma.
jpalecek requested review of this revision.

REVISION SUMMARY
  When some SensorClients are destroyed, eg. when KSysguard is closed,
   they fail to deregister themselves from SensorAgent. This may cause a
   crash when further messages arrive for them. This patch fixes that.
  
  BUG: 350140

REPOSITORY
  R106 KSysguard

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

AFFECTED FILES
  gui/SensorBrowser.cpp
  gui/ksysguard.cpp
  gui/ksysguard.h

To: jpalecek, davidedmundson, ahiemstra
Cc: 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/769ef5d8/attachment-0001.htm>


More information about the Plasma-devel mailing list