s3: Fix Coverity ID 2222: RESOURCE_LEAK
authorVolker Lendecke <vl@samba.org>
Wed, 30 Mar 2011 05:06:18 +0000 (07:06 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 30 Mar 2011 07:58:35 +0000 (09:58 +0200)
nsswitch/wbinfo.c

index 447e5555cc2ea71c1ae7c0fcbaa11956571d7e95..9efd40b56a0842a8976b9ce908e86c1c8a54be6e 100644 (file)
@@ -567,6 +567,8 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose)
                d_printf("\n");
        }
 
+       wbcFreeMemory(domain_list);
+
        return true;
 }