From: Volker Lendecke Date: Wed, 10 Jun 2026 07:36:22 +0000 (+0200) Subject: net: Fix a memleak in "net cache list" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf288194d0990d05f7ebcd119aec34779b25221f;p=thirdparty%2Fsamba.git net: Fix a memleak in "net cache list" Signed-off-by: Volker Lendecke Reviewed-by: Martin Schwenke --- diff --git a/source3/utils/net_cache.c b/source3/utils/net_cache.c index a5a67ea4ced..c4d2590a7b8 100644 --- a/source3/utils/net_cache.c +++ b/source3/utils/net_cache.c @@ -110,6 +110,7 @@ static void print_cache_entry(const char* keystr, DATA_BLOB value, d_printf(_("Key: %s\t Timeout: %s\t Value: %s %s\n"), keystr, timeout_str, datastr, timeout > now_t ? "": _("(expired)")); + TALLOC_FREE(datastr_free); SAFE_FREE(alloc_str); }