wbinfo: Fix Coverity ID 242685 Resource leak
authorVolker Lendecke <vl@samba.org>
Tue, 15 May 2012 17:48:42 +0000 (19:48 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 15 May 2012 20:03:24 +0000 (22:03 +0200)
nsswitch/wbinfo.c

index e7f902f08b160dba87e0fae8a43ae3e4f9258d16..357673f81ce361cd8e3ce16beead90146b4f5bc9 100644 (file)
@@ -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;
 }