summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-30 07:06:18 +0200
committerVolker Lendecke <vl@samba.org>2011-03-30 09:58:35 +0200
commit9a97a8307ccda6d5a78de5e7e615209578d3a672 (patch)
treed5804fb7b8d3cbaec8894336e1f4047b1ff781fa
parent12bf8470588ad38b415327f92dfbce5c321b3715 (diff)
downloadsamba-9a97a8307ccda6d5a78de5e7e615209578d3a672.tar.gz
samba-9a97a8307ccda6d5a78de5e7e615209578d3a672.tar.bz2
samba-9a97a8307ccda6d5a78de5e7e615209578d3a672.zip
s3: Fix Coverity ID 2222: RESOURCE_LEAK
-rw-r--r--nsswitch/wbinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 447e5555cc..9efd40b56a 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;
}