]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Free lock manager in when btape exits
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 11 Mar 2009 19:32:17 +0000 (19:32 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 11 Mar 2009 19:32:17 +0000 (19:32 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8518 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/btape.c
bacula/technotes-2.5

index d6f77f0f34feb607ce6f9014148b9c674328c07b..6748705b55ffccf4cc1f46a6f472e5607b850e98 100644 (file)
@@ -359,8 +359,9 @@ static void terminate_btape(int stat)
 
    stop_watchdog();
    term_msg();
-   close_memory_pool();               /* free memory in pool */
    term_last_jobs_list();
+   close_memory_pool();               /* free memory in pool */
+   lmgr_cleanup_main();
 
    sm_dump(false);
    exit(stat);
index f1863513926fd3f128fee39926772017c4001e8e..2d77ac78f855b2f7c92adea76e413f4b54a5a238 100644 (file)
@@ -33,6 +33,8 @@ Code to be completed before 3.0.0 is released:
 
 
 General:
+11Mar09
+ebl  Free lock manager in when btape exits
 09Mar09
 kes  Apply patch from bug #1224, which fixes waiting on max Storage
      jobs during migration.  Submitted by Alexandre Simon.