From e34a533319e7b947448eb90eb1a269958190e7b1 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 22 Feb 2011 17:47:20 +0100 Subject: [PATCH] Tweak accurate_finish --- bacula/src/filed/accurate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bacula/src/filed/accurate.c b/bacula/src/filed/accurate.c index 0c9ea3f306..57317bd372 100644 --- a/bacula/src/filed/accurate.c +++ b/bacula/src/filed/accurate.c @@ -184,6 +184,10 @@ bool accurate_finish(JCR *jcr) { bool ret = true; + if (jcr->is_canceled() || jcr->is_incomplete()) { + accurate_free(jcr); + return ret; + } if (jcr->accurate) { if (jcr->is_JobLevel(L_FULL)) { if (!jcr->incomplete) { -- 2.39.5