diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-05 13:06:54 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-07 14:47:19 +0200 |
commit | 2a294d380f13edad6fcdd3572336ba797baaa0e1 (patch) | |
tree | 12f5108c7ddce485fb98f2b96fc90b148bbe1c1f /source4/dsdb/samdb | |
parent | 3c4336bf949a47084ebcb068b2b9223eba4137e3 (diff) | |
download | samba-2a294d380f13edad6fcdd3572336ba797baaa0e1.tar.gz samba-2a294d380f13edad6fcdd3572336ba797baaa0e1.tar.bz2 samba-2a294d380f13edad6fcdd3572336ba797baaa0e1.zip |
s4:objectclass LDB module - use "ldb_oom" for expressing out of memory
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 144e33ec83..8e3b7aaab4 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -72,7 +72,7 @@ static struct oc_context *oc_init_context(struct ldb_module *module, ac = talloc_zero(req, struct oc_context); if (ac == NULL) { - ldb_set_errstring(ldb, "Out of Memory"); + ldb_oom(ldb); return NULL; } @@ -731,7 +731,6 @@ static int objectclass_modify(struct ldb_module *module, struct ldb_request *req ac = oc_init_context(module, req); if (ac == NULL) { - ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR; } |