summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/auth.c')
-rw-r--r--source4/auth/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index 8ca7c3ea5c..b4a473a690 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -282,7 +282,7 @@ NTSTATUS auth_register(const void *_ops)
backends = realloc_p(backends, struct auth_backend, num_backends+1);
if (!backends) {
- smb_panic("out of memory in auth_register");
+ return NT_STATUS_NO_MEMORY;
}
new_ops = smb_xmemdup(ops, sizeof(*ops));