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:
118df59
)
s4-dreplsrv: Do allocations on long-living context so that callback gets called
author
Kamen Mazdrashki
<kamenim@samba.org>
Wed, 8 Sep 2010 22:43:01 +0000
(
01:43
+0300)
committer
Kamen Mazdrashki
<kamenim@samba.org>
Thu, 9 Sep 2010 15:26:51 +0000
(18:26 +0300)
source4/dsdb/kcc/kcc_periodic.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/kcc/kcc_periodic.c
b/source4/dsdb/kcc/kcc_periodic.c
index 28ff4047488cb64013239a196cca63a18bd15cbb..a79c848567409ba35c6788ea61ef0a1835051391 100644
(file)
--- a/
source4/dsdb/kcc/kcc_periodic.c
+++ b/
source4/dsdb/kcc/kcc_periodic.c
@@
-113,7
+113,7
@@
static void kccsrv_notify_drepl_server(struct kccsrv_service *s,
struct dcerpc_binding_handle *irpc_handle;
struct tevent_req *subreq;
- state = talloc_zero(
mem_ctx
, struct kccsrv_notify_drepl_server_state);
+ state = talloc_zero(
s
, struct kccsrv_notify_drepl_server_state);
if (state == NULL) {
return;
}