]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/job.c
Improve mem pool garbage collection
[bacula/bacula] / bacula / src / dird / job.c
index 7558d362d71f3a26022cc9d7edc4b6087bbfbb52..60c70f18ad758a0886ae39327befbeec96362b86 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2000-2015 Kern Sibbald
+   Copyright (C) 2000-2017 Kern Sibbald
 
    The original author of Bacula is Kern Sibbald, with contributions
    from many others, a complete list can be found in the file AUTHORS.
@@ -1467,6 +1467,8 @@ void dird_free_jcr(JCR *jcr)
 
    free_plugins(jcr);                 /* release instantiated plugins */
 
+   garbage_collect_memory_pool();
+
    Dmsg0(200, "End dird free_jcr\n");
 }