D17065: Fix mem leak found with asan
Laurent Montel
noreply at phabricator.kde.org
Wed Nov 21 07:05:27 GMT 2018
mlaurent created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
mlaurent requested review of this revision.
REVISION SUMMARY
Fix mem when I used dolphin
#0 0x7fa8cd24d900 in operator new(unsigned long) (/usr/lib64/libasan.so.5+0xed900)
#1 0x7fa8cbc89052 in KFilePlacesModel::Private::Private(KFilePlacesModel*) /compile/kde5/framework/frameworks/kio/src/filewidgets/kfileplacesmodel.cpp:172
#2 0x7fa8cbc81703 in KFilePlacesModel::KFilePlacesModel(QString const&, QObject*) /compile/kde5/framework/frameworks/kio/src/filewidgets/kfileplacesmodel.cpp:257
#3 0x7fa8ccf83a14 in DolphinPlacesModelSingleton::DolphinPlacesModelSingleton() /compile/kde5/framework/kde/applications/dolphin/src/dolphinplacesmodelsingleton.cpp:26
#4 0x7fa8ccf83b9c in DolphinPlacesModelSingleton::instance() /compile/kde5/framework/kde/applications/dolphin/src/dolphinplacesmodelsingleton.cpp:33
TEST PLAN
Relaunch dolphin with fix + asan => no problem
REPOSITORY
R241 KIO
BRANCH
fix_mem_leak (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D17065
AFFECTED FILES
src/filewidgets/kfileplacesmodel.cpp
To: mlaurent
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181121/516c1864/attachment.html>
More information about the Kde-frameworks-devel
mailing list