summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-15 19:48:42 +0200
committerVolker Lendecke <vl@samba.org>2012-05-15 22:03:24 +0200
commitc5eab2e9acb66c0a8c48ababc0e495adb415aeeb (patch)
treefb9e0e1ce8bf9b42c4acaefb777620286c948f6e
parentfc77ee51717d3ca8e7d50ff46f2738cee475a84f (diff)
downloadsamba-c5eab2e9acb66c0a8c48ababc0e495adb415aeeb.tar.gz
samba-c5eab2e9acb66c0a8c48ababc0e495adb415aeeb.tar.bz2
samba-c5eab2e9acb66c0a8c48ababc0e495adb415aeeb.zip
wbinfo: Fix Coverity ID 242685 Resource leak
-rw-r--r--nsswitch/wbinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index e7f902f08b..357673f81c 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -1389,6 +1389,7 @@ static bool wbinfo_lookup_sids(const char *arg)
domains[names[i].domain_index].short_name,
names[i].name, names[i].type);
}
+ wbcFreeMemory(names);
return true;
}