From c5eab2e9acb66c0a8c48ababc0e495adb415aeeb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 May 2012 19:48:42 +0200 Subject: [PATCH] wbinfo: Fix Coverity ID 242685 Resource leak --- nsswitch/wbinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index e7f902f08b1..357673f81ce 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -1389,6 +1389,7 @@ static bool wbinfo_lookup_sids(const char *arg) domains[names[i].domain_index].short_name, names[i].name, names[i].type); } + wbcFreeMemory(names); return true; } -- 2.11.4.GIT