From: Kern Sibbald Date: Fri, 30 Mar 2007 21:58:45 +0000 (+0000) Subject: Release catalog_db buffer on exit X-Git-Tag: Release-7.0.0~6661 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4dfad6817fe15154a02018ed50c17cf46e07f815;p=bacula%2Fbacula Release catalog_db buffer on exit git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4464 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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(); }