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

index 357673f81ce361cd8e3ce16beead90146b4f5bc9..3f7036dcbadc1d6eed92d5b9d9d7bbff5907bf08 100644 (file)
@@ -1390,6 +1390,7 @@ static bool wbinfo_lookup_sids(const char *arg)
                         names[i].name, names[i].type);
        }
        wbcFreeMemory(names);
+       wbcFreeMemory(domains);
        return true;
 }