summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-20 00:28:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:52 -0500
commit18cddd580e04344e05593d9f63beb9ead53cfab2 (patch)
tree7e49547cc37afcf2f3b974bf21d3bfd3ebcdfb20 /source4/auth/auth.c
parent679a993329fddc320e4c67d2b66b5874c189b142 (diff)
downloadsamba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.gz
samba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.bz2
samba-18cddd580e04344e05593d9f63beb9ead53cfab2.zip
r14575: Move some path-related functions to libsamba-config so libsamba-util
doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)
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));