]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/backup.c
Add new files
[bacula/bacula] / bacula / src / dird / backup.c
index 21ec4630c068a0c8720badb59908f005cf6169c0..a96206f4ce22f08eca63aa26db5e941469bf80e5 100644 (file)
@@ -120,7 +120,7 @@ int do_backup(JCR *jcr)
         jcr->jr.JobId = 0;
         if (!db_find_job_start_time(jcr, jcr->db, &jcr->jr, &jcr->stime)) {
             Jmsg(jcr, M_INFO, 0, "%s", db_strerror(jcr->db));
-            Jmsg(jcr, M_INFO, 0, _("No prior or suitable FULL backup found. Doing FULL backup.\n"));
+            Jmsg(jcr, M_INFO, 0, _("No prior or suitable Full backup found. Doing FULL backup.\n"));
             bsnprintf(since, sizeof(since), " (upgraded from %s)", 
               level_to_str(jcr->jr.Level));
            jcr->JobLevel = jcr->jr.Level = L_FULL;
@@ -232,8 +232,6 @@ int do_backup(JCR *jcr)
       case L_DIFFERENTIAL:
       case L_INCREMENTAL:
          bnet_fsend(fd, levelcmd, "since ", jcr->stime, 0);
-        free_pool_memory(jcr->stime);
-        jcr->stime = NULL;
         break;
       case L_SINCE:
       default:
@@ -258,13 +256,8 @@ int do_backup(JCR *jcr)
    return 1;
 
 bail_out:
-   if (jcr->stime) {
-      free_pool_memory(jcr->stime);
-      jcr->stime = NULL;
-   }
    backup_cleanup(jcr, JS_ErrorTerminated, since, &fsr);
    return 0;
-
 }
 
 /*