]> git.sur5r.net Git - bacula/bacula/commitdiff
Release catalog_db buffer on exit
authorKern Sibbald <kern@sibbald.com>
Fri, 30 Mar 2007 21:58:45 +0000 (21:58 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 30 Mar 2007 21:58:45 +0000 (21:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4464 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/message.c

index 028d68f9580a016b1a07334d861c278eee2ba5a0..9b161a798eac1c2a07ca24a10aa5dc1a6de5f749 100644 (file)
@@ -563,6 +563,10 @@ void term_msg()
       fclose(trace_fd);
       trace_fd = NULL;
    }
+   if (catalog_db) {
+      free(catalog_db);
+      catalog_db = NULL;
+   }
    term_last_jobs_list();
 }