summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-25 14:47:42 -0700
committerVolker Lendecke <vl@samba.org>2010-09-26 01:12:37 +0200
commitb12744513ec24a50cc838bc6273513d3ac3ddba9 (patch)
treef39e25bbc57f0aae892a8d410e7118fc50623b3f /source3/auth
parent15a3afbd192cb8c8e4a248aec8f98141af41b8c1 (diff)
downloadsamba-b12744513ec24a50cc838bc6273513d3ac3ddba9.tar.gz
samba-b12744513ec24a50cc838bc6273513d3ac3ddba9.tar.bz2
samba-b12744513ec24a50cc838bc6273513d3ac3ddba9.zip
s3: Fix a memleak in make_new_server_info_system()
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 287d9632a9..94adc3c7fc 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -761,6 +761,7 @@ static NTSTATUS make_new_server_info_system(TALLOC_CTX *mem_ctx,
pwd->pw_name,
false,
server_info);
+ TALLOC_FREE(pwd);
if (!NT_STATUS_IS_OK(status)) {
return status;
}