2 This patch should fix the Job restart on error bug that promotes
3 an Incremental backup to a Full backup.
5 Apply it to version 2.0.1 (perhaps to 2.0.0) with:
8 patch -p0 <2.0.1-restart.patch
14 ===================================================================
15 RCS file: /cvsroot/bacula/bacula/src/dird/job.c,v
16 retrieving revision 1.148.2.2
17 diff -u -r1.148.2.2 job.c
18 --- src/dird/job.c 12 Jan 2007 09:58:04 -0000 1.148.2.2
19 +++ src/dird/job.c 17 Jan 2007 15:29:25 -0000
21 free_pool_memory(jcr->fname);
25 - Dmsg0(200, "Free JCR stime\n");
26 - free_pool_memory(jcr->stime);
29 if (jcr->RestoreBootstrap) {
30 free(jcr->RestoreBootstrap);
31 jcr->RestoreBootstrap = NULL;
33 pthread_cond_destroy(&jcr->term_wait);
34 jcr->term_wait_inited = false;
37 + Dmsg0(200, "Free JCR stime\n");
38 + free_pool_memory(jcr->stime);
42 Dmsg0(200, "Free JCR fname\n");
43 free_pool_memory(jcr->fname);