summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 01:52:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:02 -0500
commit8e274e8661cbd00fbfe72107a9e293ef8db2d70f (patch)
tree0137e406797ef4e05774b276015f69dcfb6c500b /source3/passdb
parent8beeeffd6ec2a31ab6e28ae38c92c92d5be3a8c1 (diff)
downloadsamba-8e274e8661cbd00fbfe72107a9e293ef8db2d70f.tar.gz
samba-8e274e8661cbd00fbfe72107a9e293ef8db2d70f.tar.bz2
samba-8e274e8661cbd00fbfe72107a9e293ef8db2d70f.zip
r16593: Make the invarient explicit to Klocwork. Bug #2023.
Jeremy. (This used to be commit 720a9172050beb158a25fbb826676ba19cdcef20)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index d4e788ff68..cbb30ead02 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -1329,6 +1329,7 @@ BOOL pdb_copy_sam_account(struct samu *dst, struct samu *src )
len = init_buffer_from_sam_v3(&buf, src, False);
if (len == -1 || !buf) {
+ SAFE_FREE(buf);
return False;
}