From: Volker Lendecke Date: Tue, 15 May 2012 17:48:42 +0000 (+0200) Subject: wbinfo: Fix Coverity ID 242685 Resource leak X-Git-Tag: samba-4.0.0alpha21~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c5eab2e9acb66c0a8c48ababc0e495adb415aeeb;p=thirdparty%2Fsamba.git wbinfo: Fix Coverity ID 242685 Resource leak --- 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; }