summaryrefslogtreecommitdiff
path: root/src/minicron.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-06-21 15:12:50 +0000
committerMike Buland <eichlan@xagasoft.com>2010-06-21 15:12:50 +0000
commitc715b258e2d486ee4d95da7d495fd1567770fdf6 (patch)
treefaefc8713b16f763a2aee5652d8b3163b56a5688 /src/minicron.cpp
parent6778ed99fe197a05bd109eab1ec047ddcba07ca4 (diff)
downloadlibbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.gz
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.bz2
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.tar.xz
libbu++-c715b258e2d486ee4d95da7d495fd1567770fdf6.zip
Both Bu::Variant and Bu::MiniCron failed to cleanup behind themselves in some
cases. This has been fixed.
Diffstat (limited to 'src/minicron.cpp')
-rw-r--r--src/minicron.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/minicron.cpp b/src/minicron.cpp
index 35df189..8aace26 100644
--- a/src/minicron.cpp
+++ b/src/minicron.cpp
@@ -17,6 +17,10 @@ Bu::MiniCron::MiniCron() :
17 17
18Bu::MiniCron::~MiniCron() 18Bu::MiniCron::~MiniCron()
19{ 19{
20 while( !hJobs.isEmpty() )
21 {
22 delete hJobs.dequeue();
23 }
20} 24}
21 25
22bool Bu::MiniCron::hasJobs() 26bool Bu::MiniCron::hasJobs()