From 4dfad6817fe15154a02018ed50c17cf46e07f815 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 30 Mar 2007 21:58:45 +0000 Subject: [PATCH] Release catalog_db buffer on exit git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4464 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/message.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index 028d68f958..9b161a798e 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -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(); } -- 2.39.5