]> git.sur5r.net Git - bacula/bacula/commitdiff
Put back missing close_msg(NULL) to flush daemon messages at job end
authorKern Sibbald <kern@sibbald.com>
Wed, 12 Aug 2015 12:32:05 +0000 (14:32 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 13 Aug 2015 06:51:50 +0000 (08:51 +0200)
bacula/src/lib/jcr.c

index 097adece8e61dfa0ea23ab4f9452a9688daceff6..b99041db7b7d7869e9dc31edfd4245954d4f0c82 100644 (file)
@@ -573,6 +573,7 @@ void free_jcr(JCR *jcr)
    }
 
    free_common_jcr(jcr);
+   close_msg(NULL);                   /* flush any daemon messages */
    Dmsg0(dbglvl, "Exit free_jcr\n");
 }