git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1555d5a
)
s4-ldb Allow a NULL event context in samba_ldb_init()
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 11 Oct 2010 06:26:52 +0000
(17:26 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 11 Oct 2010 13:02:16 +0000
(13:02 +0000)
source4/lib/ldb-samba/ldb_wrap.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb-samba/ldb_wrap.c
b/source4/lib/ldb-samba/ldb_wrap.c
index b09e68c0a15f6633b73fd4bed139e0b0cec296ac..299dbf49e7255cc38766fbf73ecb64c81dfc9dd0 100644
(file)
--- a/
source4/lib/ldb-samba/ldb_wrap.c
+++ b/
source4/lib/ldb-samba/ldb_wrap.c
@@
-113,13
+113,6
@@
static int ldb_wrap_destructor(struct ldb_wrap *w)
struct ldb_context *ldb;
int ret;
- /* we want to use the existing event context if possible. This
- relies on the fact that in smbd, everything is a child of
- the main event_context */
- if (ev == NULL) {
- return NULL;
- }
-
ldb = ldb_init(mem_ctx, ev);
if (ldb == NULL) {
return NULL;