]> git.sur5r.net Git - bacula/bacula/commitdiff
Really free free pool memory before sm_dump
authorKern Sibbald <kern@sibbald.com>
Wed, 21 Jul 2010 15:33:26 +0000 (17:33 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:58 +0000 (16:53 +0200)
bacula/src/filed/job.c

index 6e86ba83929435950d208e59fa581d006c7fa2e4..d660469817f72255d6c8012127dab687cfc459ee 100644 (file)
@@ -408,7 +408,7 @@ void *handle_client_request(void *dirp)
 
 static int sm_dump_cmd(JCR *jcr)
 {
-   garbage_collect_memory_pool();
+   close_memory_pool();
    sm_dump(false, true);
    jcr->dir_bsock->fsend("2000 sm_dump OK\n");
    return 1;