summaryrefslogtreecommitdiffstats
path: root/src/schedule.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-03-16 10:20:22 +0200
committerMichele Calgaro <[email protected]>2021-03-18 19:55:00 +0900
commitb43a934bb7abd7af1ab279b5bc6193052f597df5 (patch)
tree568bca9ca548bfd12f0020e7c94163ea6b7c58a1 /src/schedule.cpp
parent769a496bf77457ac4bcb06cdc19a4fde721d40a8 (diff)
downloadklamav-b43a934bb7abd7af1ab279b5bc6193052f597df5.tar.gz
klamav-b43a934bb7abd7af1ab279b5bc6193052f597df5.zip
Klamscan, Scheduler: Reset DirectoryList after use
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 69817f0eae3ed0e420a7d0e58c29953dd65dda97)
Diffstat (limited to 'src/schedule.cpp')
-rw-r--r--src/schedule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/schedule.cpp b/src/schedule.cpp
index 743c551..7ea7a22 100644
--- a/src/schedule.cpp
+++ b/src/schedule.cpp
@@ -198,6 +198,7 @@ void Schedule::slotScheduleScan()
{
// Update directory list
filepattern = setup->dirs();
+ setup->reset();
/* cthost = new CTHost();*/
/* const CTHost& cth(*cthost);