From 16e6d9d7ad7f342a747bef3ffcbe007ee3132ba6 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 21 Sep 2016 12:19:58 -0400 Subject: Another quick fix to try and track down where Lumina is leaking memory within teh app list search routine. --- src-qt5/core/libLumina/LuminaXDG.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5') diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp index 64f21743..a32273c0 100644 --- a/src-qt5/core/libLumina/LuminaXDG.cpp +++ b/src-qt5/core/libLumina/LuminaXDG.cpp @@ -65,6 +65,7 @@ void XDGDesktopList::updateList(){ } if(ok && !found.contains(dFile.name)){ if(!oldkeys.contains(path)){ newfiles << path; } //brand new file (not an update to a previously-read file) + else{ files.remove(path); } //just to ensure that we don't get duplicates within the Hash files.insert(path, dFile); found << dFile.name; oldkeys.removeAll(path); //make sure this key does not get cleaned up later -- cgit