diff options
author | Günther Deschner <gd@samba.org> | 2006-07-03 22:27:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:10 -0500 |
commit | ed8a9c82fe98a65d0db07f73a191507c18bb9527 (patch) | |
tree | 43f02dcc14edae1d42d6656fcbba42b18996e4d4 | |
parent | 192062c4a60d107cd762183b937249bffd9edde7 (diff) | |
download | samba-ed8a9c82fe98a65d0db07f73a191507c18bb9527.tar.gz samba-ed8a9c82fe98a65d0db07f73a191507c18bb9527.tar.bz2 samba-ed8a9c82fe98a65d0db07f73a191507c18bb9527.zip |
r16790: Fix memleak.
Guenther
(This used to be commit 48ab7f46814dfbd777f142cdd8f59e6c1962eb15)
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index e078c295e1..5cbaa77805 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -827,6 +827,7 @@ NTSTATUS wcache_cached_creds_exist(struct winbindd_domain *domain, const DOM_SID return NT_STATUS_OBJECT_NAME_NOT_FOUND; } + SAFE_FREE(data.dptr); return NT_STATUS_OK; } |