D17032: Fix a few memory leaksASAN: Fix leak in XWindowTasksModel

Kevin Funk noreply at phabricator.kde.org
Mon Nov 19 22:35:54 GMT 2018


kfunk created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
kfunk requested review of this revision.

REVISION SUMMARY
  Trace:
  Direct leak of 24 byte(s) in 3 object(s) allocated from:
  
    #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0)
    #1 0x7fe4f0e82df9 in TaskManager::XWindowTasksModel::Private::windowInfo(unsigned long long) /home/kfunk/devel/src/kf5/plasma-workspace/libtaskmanager/xwindowtasksmodel.cpp:419:25
    #2 0x7fe4f0e87e69 in TaskManager::XWindowTasksModel::data(QModelIndex const&, int) const /home/kfunk/devel/src/kf5/plasma-workspace/libtaskmanager/xwindowtasksmodel.cpp:646:38
    ...
  
  ASAN: Fix leak in ShellCorona
  
  Trace:
  Indirect leak of 48 byte(s) in 1 object(s) allocated from:
  
    #0 0x544cc0 in operator new(unsigned long) (/home/kfunk/devel/install/kf5/bin/plasmashell+0x544cc0)
    #1 0x5e1a95 in ShellCorona::checkAddPanelAction(QStringList const&) /home/kfunk/devel/src/kf5/plasma-workspace/shell/shellcorona.cpp:1728:27
    #2 0x5dac7e in ShellCorona::ShellCorona(QObject*) /home/kfunk/devel/src/kf5/plasma-workspace/shell/shellcorona.cpp:180:5
    #3 0x65c31d in ShellManager::loadHandlers() /home/kfunk/devel/src/kf5/plasma-workspace/shell/shellmanager.cpp:93:21
    ...

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

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

AFFECTED FILES
  libtaskmanager/xwindowtasksmodel.cpp
  shell/shellcorona.cpp
  shell/shellcorona.h

To: kfunk
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181119/8d846e91/attachment-0001.html>


More information about the Plasma-devel mailing list