]> 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)
committerKern Sibbald <kern@sibbald.com>
Thu, 22 Jul 2010 13:53:22 +0000 (15:53 +0200)
bacula/src/filed/job.c

index 73f96c000d94f98c48a4d79e7e366cebcbff4a27..149df9eeaed373b65d8c8421d5abe0bbedd19564 100644 (file)
@@ -398,7 +398,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;