diff options
author | Andreas Schneider <asn@samba.org> | 2013-02-20 09:51:43 +0100 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-02-22 16:36:14 +0100 |
commit | b055798c5660e48f88b74478b89ce88aae9ed019 (patch) | |
tree | 8b5f3eeaf322c34045848c5f319d6c4900b3ee31 /source3 | |
parent | cf8be08968f2aae3769140aee00ecac542ff1884 (diff) | |
download | samba-b055798c5660e48f88b74478b89ce88aae9ed019.tar.gz |
winbind: Don't leak centry memory.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index 4b1e16c2794..d0603d11c9b 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -2144,6 +2144,7 @@ static NTSTATUS rids_to_names(struct winbindd_domain *domain, } else { /* something's definitely wrong */ result = centry->status; + centry_free(centry); goto error; } |