summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 21:42:30 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-12 23:40:17 +0100
commita910d0cc643525cbbf654ea55e376598fb5106e3 (patch)
tree92c7884567771b9eaff2b17622d6e0ca66a64c5e /source4
parente4b22702b6fc72a6ac8989144ded3f78cb05d641 (diff)
downloadsamba-a910d0cc643525cbbf654ea55e376598fb5106e3.tar.gz
samba-a910d0cc643525cbbf654ea55e376598fb5106e3.tar.bz2
samba-a910d0cc643525cbbf654ea55e376598fb5106e3.zip
s4:dsdb/pydsdb.c - don't throw another exception on "PyObject_AsDn"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 23:40:17 CET 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/pydsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index f304153604..af035042e6 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -167,7 +167,7 @@ static PyObject *py_samdb_set_ntds_settings_dn(PyLdbObject *self, PyObject *args
}
if (!PyObject_AsDn(tmp_ctx, py_ntds_settings_dn, ldb, &ntds_settings_dn)) {
- PyErr_NoMemory();
+ /* exception thrown by "PyObject_AsDn" */
talloc_free(tmp_ctx);
return NULL;
}