aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-11-06 20:59:04 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2020-11-06 20:59:04 +0000
commite3503e5ba05a26c030b08de8400a5c8cebc034ed (patch)
tree7979ebd4d6ef6a1c1587c3bc7c8baaa222b88e57 /src/plugins/General
parentf25ee4376455f09aa3f321a0379fdf344c5df96d (diff)
downloadqmmp-e3503e5ba05a26c030b08de8400a5c8cebc034ed.tar.gz
qmmp-e3503e5ba05a26c030b08de8400a5c8cebc034ed.tar.bz2
qmmp-e3503e5ba05a26c030b08de8400a5c8cebc034ed.zip
fixed memory leak
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9555 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/library/library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/library/library.cpp b/src/plugins/General/library/library.cpp
index 3f24d1a85..0964e14b5 100644
--- a/src/plugins/General/library/library.cpp
+++ b/src/plugins/General/library/library.cpp
@@ -255,7 +255,7 @@ QList<PlayListTrack *> Library::processFile(const QString &path, QStringList *ig
QList<PlayListTrack *> tracks;
const QList<TrackInfo *> infoList = MetaDataManager::instance()->createPlayList(path, TrackInfo::AllParts, ignoredPaths);
- for(TrackInfo *info : qAsConst(infoList))
+ for(const TrackInfo *info : qAsConst(infoList))
{
tracks.append(new PlayListTrack(info));
}