summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nsswitch/winbindd_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 6004ed2e35..43bb33bea9 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -952,6 +952,7 @@ NTSTATUS wcache_get_creds(struct winbindd_domain *domain,
DEBUG(0,("wcache_get_creds: bad entry for [CRED/%s] - deleting\n",
sidstr));
wcache_delete("CRED/%s", sidstr);
+ centry_free(centry);
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}