summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-07 21:03:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:03 -0500
commiteae063e965a9ca81c887c2f80c85d85183d16a59 (patch)
tree1864685f553d5ed630ee41f87fa6ee02ac8de125 /source3/libsmb
parentcd49e2546ecc3d16dc2f89c07d48b98995ec5ff9 (diff)
downloadsamba-eae063e965a9ca81c887c2f80c85d85183d16a59.tar.gz
samba-eae063e965a9ca81c887c2f80c85d85183d16a59.tar.bz2
samba-eae063e965a9ca81c887c2f80c85d85183d16a59.zip
r13991: Fix Coverity bug # 69
(This used to be commit 6dc79e6b12e221e9af85a1edf487b5fb5aae222b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/samlogon_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c
index ef60055cf4..cc1c6bd6b2 100644
--- a/source3/libsmb/samlogon_cache.c
+++ b/source3/libsmb/samlogon_cache.c
@@ -208,6 +208,7 @@ NET_USER_INFO_3* netsamlogon_cache_get( TALLOC_CTX *mem_ctx, const DOM_SID *user
if ( !prs_uint32( "timestamp", &ps, 0, &t ) ) {
prs_mem_free( &ps );
+ SAFE_FREE(user);
return False;
}