From 40306f2247cfedb2b0c3af3a7392b1a7e83c57ab Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 30 Mar 2011 07:06:18 +0200 Subject: s3: Fix Coverity ID 2220: RESOURCE_LEAK --- nsswitch/wbinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c index c9ebbe6544..bb03750fa8 100644 --- a/nsswitch/wbinfo.c +++ b/nsswitch/wbinfo.c @@ -214,6 +214,8 @@ static bool wbinfo_get_uidinfo(int uid) pwd->pw_dir, pwd->pw_shell); + wbcFreeMemory(pwd); + return true; } -- cgit