summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-15 06:14:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:48 -0500
commit8e7799889f58d89a5d38376b89ba1d4f6d8c4869 (patch)
tree9737a661ecc221ae598dd728c0c38391dd9477da /source3
parentd6943ee54635d08e4d3ad433e8a8c65e3cd29a9f (diff)
downloadsamba-8e7799889f58d89a5d38376b89ba1d4f6d8c4869.tar.gz
samba-8e7799889f58d89a5d38376b89ba1d4f6d8c4869.tar.bz2
samba-8e7799889f58d89a5d38376b89ba1d4f6d8c4869.zip
r18543: Fix Coverity ID#312
(This used to be commit 763cbe924b78b206985db6552e20cb4830446d35)
Diffstat (limited to 'source3')
-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;
}