diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/messages.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 256d4d097c..b796e1472c 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -199,8 +199,10 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, status = messaging_tdb_init(ctx, ctx, &ctx->local); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("messaging_tdb_init failed: %s\n", nt_errstr(status))); + DEBUG(0, ("messaging_tdb_init failed: %s\n", + nt_errstr(status))); TALLOC_FREE(ctx); + return NULL; } messaging_register(ctx, NULL, MSG_PING, ping_message); |