summaryrefslogtreecommitdiffstats
path: root/src/schedule.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-16 10:20:22 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-03-18 12:39:47 +0200
commit69817f0eae3ed0e420a7d0e58c29953dd65dda97 (patch)
tree259197fc7776e217f655aaacf62e25ea0dbcd7fe /src/schedule.cpp
parent78b3377194e64aa3ac311358123b3b5c84c9db23 (diff)
downloadklamav-69817f0eae3ed0e420a7d0e58c29953dd65dda97.tar.gz
klamav-69817f0eae3ed0e420a7d0e58c29953dd65dda97.zip
Klamscan, Scheduler: Reset DirectoryList after use
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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);