From 28495c7e904dff52c5c0132342ffe6c04ef3e46b Mon Sep 17 00:00:00 2001 From: Patrick LeBlanc Date: Fri, 17 May 2019 16:02:34 -0500 Subject: [PATCH] Fixed a bug in sync with journal where a cloud object would not be deleted after a journal merge. --- src/Synchronizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Synchronizer.cpp b/src/Synchronizer.cpp index a5b0df1b4..6ebeead4b 100644 --- a/src/Synchronizer.cpp +++ b/src/Synchronizer.cpp @@ -350,7 +350,7 @@ void Synchronizer::synchronizeWithJournal(const string &sourceFile, list ScopedWriteLock s(ioc, sourceFile); char buf[80]; - string &key = *lit; + string key = *lit; MetadataFile md(sourceFile.c_str(), MetadataFile::no_create_t()); if (!md.exists())