diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 38b461a3e..dd6d55408 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -562,7 +562,7 @@ void FolderMan::slotEtagJobDestroyed(QObject * /*o*/) void FolderMan::slotRunOneEtagJob() { if (_currentEtagJob.isNull()) { - Folder *folder; + Folder *folder = new Folder; foreach (Folder *f, _folderMap) { if (f->etagJob()) { // Caveat: always grabs the first folder with a job, but we think this is Ok for now and avoids us having a seperate queue.