From: Kern Sibbald Date: Tue, 22 Feb 2011 16:47:20 +0000 (+0100) Subject: Tweak accurate_finish X-Git-Tag: Release-7.0.0~1110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e34a533319e7b947448eb90eb1a269958190e7b1;p=bacula%2Fbacula Tweak accurate_finish --- 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) {