git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b2270
)
s4:dsdb/pydsdb.c - don't throw another exception on "PyObject_AsDn"
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sun, 12 Dec 2010 20:42:30 +0000
(21:42 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Sun, 12 Dec 2010 22:40:17 +0000
(23:40 +0100)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Dec 12 23:40:17 CET 2010 on sn-devel-104
source4/dsdb/pydsdb.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/pydsdb.c
b/source4/dsdb/pydsdb.c
index f304153604a5bead4bc6d57b5b1d860e98d318e3..af035042e641ddbbb8e6a5099c60af99d65429e6 100644
(file)
--- 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;
}