diff options
author | Michael Adam <obnox@samba.org> | 2011-07-04 17:21:23 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-04 20:02:10 +0200 |
commit | 17b091b7c7f57a041c5e90c653f1ee46572d4668 (patch) | |
tree | ecd12f0a6a58efbf2418097181626f84de22d9c4 | |
parent | cc384c15969cdc395bfd3fcee10b5c04233df290 (diff) | |
download | samba-17b091b7c7f57a041c5e90c653f1ee46572d4668.tar.gz samba-17b091b7c7f57a041c5e90c653f1ee46572d4668.tar.bz2 samba-17b091b7c7f57a041c5e90c653f1ee46572d4668.zip |
s3:registry: remove superfluous check for success of talloc_stackframe()
-rw-r--r-- | source3/registry/reg_backend_db.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 5a944324be..e660d2f3b8 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -438,9 +438,6 @@ static WERROR regdb_upgrade_v1_to_v2(struct db_context *db) WERROR werr; mem_ctx = talloc_stackframe(); - if (mem_ctx == NULL) { - return WERR_NOMEM; - } rc = regdb->traverse(db, regdb_normalize_keynames_fn, mem_ctx); |