diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-30 07:06:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-30 09:58:35 +0200 |
commit | 40306f2247cfedb2b0c3af3a7392b1a7e83c57ab (patch) | |
tree | 0bcfaf422055e0a2d984f2e81bd4d68cb4ae45ea | |
parent | a56eb9b88733fbee30e3640d3e4b0ede6bf434d7 (diff) | |
download | samba-40306f2247cfedb2b0c3af3a7392b1a7e83c57ab.tar.gz samba-40306f2247cfedb2b0c3af3a7392b1a7e83c57ab.tar.bz2 samba-40306f2247cfedb2b0c3af3a7392b1a7e83c57ab.zip |
s3: Fix Coverity ID 2220: RESOURCE_LEAK
-rw-r--r-- | nsswitch/wbinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |