From eb41d4bb20964e9a7dd9cbb5b3013a4cc9d757b1 Mon Sep 17 00:00:00 2001 From: "andrew (from workstation)" Date: Sat, 2 Jan 2021 15:09:55 +0100 Subject: [PATCH] fix iterator --- td/telegram/FileReferenceManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/td/telegram/FileReferenceManager.cpp b/td/telegram/FileReferenceManager.cpp index b8cde7b0c..0010af934 100644 --- a/td/telegram/FileReferenceManager.cpp +++ b/td/telegram/FileReferenceManager.cpp @@ -384,6 +384,8 @@ void FileReferenceManager::memory_cleanup() { elements_it++; } + + file_nodes_it++; } if (remove) {