git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a97a83
)
s3: Fix Coverity ID 2221: RESOURCE_LEAK
author
Volker Lendecke
<vl@samba.org>
Wed, 30 Mar 2011 05:06:18 +0000
(07:06 +0200)
committer
Volker Lendecke
<vl@samba.org>
Wed, 30 Mar 2011 07:58:35 +0000
(09:58 +0200)
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index 9efd40b56a0842a8976b9ce908e86c1c8a54be6e..c9ebbe6544b4010a36c49699270aab1f0f35d5ea 100644
(file)
--- 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;
}