diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 14:47:42 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 01:12:37 +0200 |
commit | b12744513ec24a50cc838bc6273513d3ac3ddba9 (patch) | |
tree | f39e25bbc57f0aae892a8d410e7118fc50623b3f /source3/auth | |
parent | 15a3afbd192cb8c8e4a248aec8f98141af41b8c1 (diff) | |
download | samba-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.c | 1 |
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; } |