summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-12 00:09:35 -0800
committerJeremy Allison <jra@samba.org>2008-01-12 00:09:35 -0800
commitaa8818bcc38dc3993bc41776ba29adb906c3dd66 (patch)
tree4341846f85323dc8c14a1c127c70b9b2d08062c2 /source3
parent76d904e6d84ea41d824f2ecb4682d84718ff1bdd (diff)
downloadsamba-aa8818bcc38dc3993bc41776ba29adb906c3dd66.tar.gz
samba-aa8818bcc38dc3993bc41776ba29adb906c3dd66.tar.bz2
samba-aa8818bcc38dc3993bc41776ba29adb906c3dd66.zip
Fix CID 469. new_acct can't be NULL here.
Jeremy. (This used to be commit c79e9414c4baed6e61fc6a3f766395b873bcc4ea)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_tdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 5ee1cdc0c0..b05a42b32c 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1352,8 +1352,7 @@ done:
tdbsam_close();
- if (new_acct)
- TALLOC_FREE(new_acct);
+ TALLOC_FREE(new_acct);
return NT_STATUS_ACCESS_DENIED;
}