diff options
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r-- | source4/wrepl_server/wrepl_server.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/wrepl_server/wrepl_server.c b/source4/wrepl_server/wrepl_server.c index bc24ae1abd..f7ad7cf284 100644 --- a/source4/wrepl_server/wrepl_server.c +++ b/source4/wrepl_server/wrepl_server.c @@ -127,7 +127,7 @@ NTSTATUS wreplsrv_load_partners(struct wreplsrv_service *service) struct wreplsrv_partner *partner; struct ldb_result *res = NULL; int ret; - TALLOC_CTX *tmp_ctx = talloc_new(service); + TALLOC_CTX *tmp_ctx; int i; uint64_t new_seqnumber; @@ -138,6 +138,9 @@ NTSTATUS wreplsrv_load_partners(struct wreplsrv_service *service) return NT_STATUS_OK; } + tmp_ctx = talloc_new(service); + NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); + service->config.seqnumber = new_seqnumber; /* find the record in the WINS database */ |