diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_watch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index d8f1b74a42..7bdcd998f8 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -401,6 +401,9 @@ NTSTATUS dbwrap_record_watch_recv(struct tevent_req *req, if (tevent_req_is_nterror(req, &status)) { return status; } + if (prec == NULL) { + return NT_STATUS_OK; + } rec = dbwrap_fetch_locked(state->db, mem_ctx, state->key); if (rec == NULL) { return NT_STATUS_INTERNAL_DB_ERROR; |