From 9a97a8307ccda6d5a78de5e7e615209578d3a672 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Mar 2011 07:06:18 +0200 Subject: [PATCH] s3: Fix Coverity ID 2222: RESOURCE_LEAK --- nsswitch/wbinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 447e5555cc2..9efd40b56a0 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -567,6 +567,8 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose) d_printf("\n"); } + wbcFreeMemory(domain_list); + return true; } -- 2.11.4.GIT