D11931: [kiriki] avoid memory leak

Jaime Torres Amate noreply at phabricator.kde.org
Wed Apr 4 19:18:47 UTC 2018


jtamate created this revision.
jtamate added a reviewer: KDE Games.
jtamate requested review of this revision.

REVISION SUMMARY
  avoid this memory leak:
  Indirect leak of 72 byte(s) in 1 object(s) allocated from:
  
    #0 0x7f39cec39c70 in operator new(unsigned long) (/usr/lib64/libasan.so.4+0xddc70)
    #1 0x4160ed in QList<player>::node_construct(QList<player>::Node*, player const&) /usr/include/qt5/QtCore/qlist.h:435
    #2 0x4160ed in QList<player>::append(player const&) /usr/include/qt5/QtCore/qlist.h:584
    #3 0x4160ed in scores::scores() /g/5kde/kde/kdegames/kiriki/src/scores.cpp:57

TEST PLAN
  play a new game.

REPOSITORY
  R399 Kiriki

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

AFFECTED FILES
  src/kiriki.cpp
  src/kiriki.h

To: jtamate, #kde_games
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20180404/c1e937da/attachment.html>


More information about the kde-games-devel mailing list