summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-15 19:49:31 +0200
committerVolker Lendecke <vl@samba.org>2012-05-15 22:03:24 +0200
commite5825ab22de75315e1af9cc58e79b9e2c3896226 (patch)
treec3c0b79dfb4e0facab6091618a113cd4410bd0da /nsswitch
parentc5eab2e9acb66c0a8c48ababc0e495adb415aeeb (diff)
downloadsamba-e5825ab22de75315e1af9cc58e79b9e2c3896226.tar.gz
samba-e5825ab22de75315e1af9cc58e79b9e2c3896226.tar.bz2
samba-e5825ab22de75315e1af9cc58e79b9e2c3896226.zip
wbinfo: Fix Coverity ID 242684 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 357673f81c..3f7036dcba 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -1390,6 +1390,7 @@ static bool wbinfo_lookup_sids(const char *arg)
names[i].name, names[i].type);
}
wbcFreeMemory(names);
+ wbcFreeMemory(domains);
return true;
}