From a56eb9b88733fbee30e3640d3e4b0ede6bf434d7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Mar 2011 07:06:18 +0200 Subject: s3: Fix Coverity ID 2221: RESOURCE_LEAK --- nsswitch/wbinfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nsswitch') diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index 9efd40b56a..c9ebbe6544 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -187,6 +187,8 @@ static bool wbinfo_get_userinfo(char *user) pwd->pw_dir, pwd->pw_shell); + wbcFreeMemory(pwd); + return true; } -- cgit