summaryrefslogtreecommitdiff
path: root/nsswitch
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 /nsswitch
parentfc77ee51717d3ca8e7d50ff46f2738cee475a84f (diff)
downloadsamba-c5eab2e9acb66c0a8c48ababc0e495adb415aeeb.tar.gz
wbinfo: Fix Coverity ID 242685 Resource leak
Diffstat (limited to 'nsswitch')
-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;
}