summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
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/gensec
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/gensec')
-rw-r--r--source4/auth/gensec/gensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 0328d0dfea..8dbf9fe2db 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -1088,7 +1088,7 @@ NTSTATUS gensec_register(const struct gensec_security_ops *ops)
struct gensec_security_ops *,
gensec_num_backends+2);
if (!generic_security_ops) {
- smb_panic("out of memory (or failed to realloc referenced memory) in gensec_register");
+ return NT_STATUS_NO_MEMORY;
}
generic_security_ops[gensec_num_backends] = discard_const(ops);