diff options
-rw-r--r-- | source3/smbd/dmapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dmapi.c b/source3/smbd/dmapi.c index e213d73e0a..7a0a2fc1f5 100644 --- a/source3/smbd/dmapi.c +++ b/source3/smbd/dmapi.c @@ -188,7 +188,7 @@ const void *dmapi_get_current_session(void) bool dmapi_have_session(void) { if (!dmapi_ctx) { - dmapi_ctx = talloc(struct smbd_dmapi_context); + dmapi_ctx = talloc(NULL, struct smbd_dmapi_context); if (!dmapi_ctx) { exit_server("unable to allocate smbd_dmapi_context"); } |