summaryrefslogtreecommitdiffstats
path: root/source3/lib/messages_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/messages_local.c')
-rw-r--r--source3/lib/messages_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/messages_local.c b/source3/lib/messages_local.c
index 9bfe6e68e0..bfed35ffe4 100644
--- a/source3/lib/messages_local.c
+++ b/source3/lib/messages_local.c
@@ -87,7 +87,7 @@ NTSTATUS messaging_tdb_init(struct messaging_context *msg_ctx,
struct messaging_backend *result;
struct messaging_tdb_context *ctx;
- if (!(result = TALLOC_P(mem_ctx, struct messaging_backend))) {
+ if (!(result = talloc(mem_ctx, struct messaging_backend))) {
DEBUG(0, ("talloc failed\n"));
return NT_STATUS_NO_MEMORY;
}