doc: Explain our build systems for Samba 4.0
[kai/samba.git] / nsswitch / wbinfo.c
index e7f902f08b160dba87e0fae8a43ae3e4f9258d16..3f7036dcbadc1d6eed92d5b9d9d7bbff5907bf08 100644 (file)
@@ -1389,6 +1389,8 @@ static bool wbinfo_lookup_sids(const char *arg)
                         domains[names[i].domain_index].short_name,
                         names[i].name, names[i].type);
        }
+       wbcFreeMemory(names);
+       wbcFreeMemory(domains);
        return true;
 }