diff options
author | Jeremy Allison <jra@samba.org> | 2010-11-09 16:55:43 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-11-10 01:56:21 +0000 |
commit | a95970d3b7eb8913f026395084c909548c5f7b6b (patch) | |
tree | 58427af1111b277f42f70704dca9e763b165fbf4 /source3/auth | |
parent | f0dcc90f726e1232a4e0b74a03784281ea9a7cdc (diff) | |
download | samba-a95970d3b7eb8913f026395084c909548c5f7b6b.tar.gz samba-a95970d3b7eb8913f026395084c909548c5f7b6b.tar.bz2 samba-a95970d3b7eb8913f026395084c909548c5f7b6b.zip |
Fix memleak I accidently introduced when reading from tdb.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Nov 10 01:56:21 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/user_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/auth/user_util.c b/source3/auth/user_util.c index 9ae81fdec8..d6c47a8332 100644 --- a/source3/auth/user_util.c +++ b/source3/auth/user_util.c @@ -101,6 +101,7 @@ static bool fetch_map_from_gencache(TALLOC_CTX *ctx, } TALLOC_FREE(*p_user_out); *p_user_out = talloc_strdup(ctx, value); + SAFE_FREE(value); if (!*p_user_out) { return false; } |