summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-30 07:04:47 +0200
committerVolker Lendecke <vl@samba.org>2011-03-30 09:58:35 +0200
commit12bf8470588ad38b415327f92dfbce5c321b3715 (patch)
treebf060847c53de69a1e45f709dce11cb1e56cbf04
parent8486f0fa0495e51d204dca970bf864041123b631 (diff)
downloadsamba-12bf8470588ad38b415327f92dfbce5c321b3715.tar.gz
samba-12bf8470588ad38b415327f92dfbce5c321b3715.tar.bz2
samba-12bf8470588ad38b415327f92dfbce5c321b3715.zip
s3: Fix Coverity ID 2223: 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 2436b3bd3c..447e5555cc 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -619,6 +619,8 @@ static bool wbinfo_show_onlinestatus(const char *domain)
is_offline ? "offline" : "online" );
}
+ wbcFreeMemory(domain_list);
+
return true;
}