From: Eric Bollengier Date: Mon, 30 Nov 2020 10:01:41 +0000 (+0100) Subject: Fix memory small loss in SD X-Git-Tag: Release-11.3.2~972 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6b59fb29cb5334df20b3fa49dadac98de76024c;p=thirdparty%2Fbacula.git Fix memory small loss in SD --- diff --git a/bacula/src/stored/stored_conf.c b/bacula/src/stored/stored_conf.c index 118b0eb39b..b5c74d51b8 100644 --- a/bacula/src/stored/stored_conf.c +++ b/bacula/src/stored/stored_conf.c @@ -812,6 +812,9 @@ void free_resource(RES *sres, int type) if (res->res_store.scripts_directory) { free(res->res_store.scripts_directory); } + if (res->res_store.ssd_directory) { + free(res->res_store.ssd_directory); + } if (res->res_store.tls_ctx) { free_tls_context(res->res_store.tls_ctx); }