diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 447e5555cc2..9efd40b56a0 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -567,6 +567,8 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose) d_printf("\n"); } + wbcFreeMemory(domain_list); + return true; }