summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-06-05 23:10:58 +0200
committerGünther Deschner <gd@samba.org>2009-06-05 23:10:58 +0200
commit2e78bc7b539ee298ca695ec9e0d650f99a266282 (patch)
tree16c46f5e79ada59ccce8b32da81d9b813e12ee36 /lib/nss_wrapper
parentf3aa2a2b73e3ece1d3b57698303980a26083b08d (diff)
downloadsamba-2e78bc7b539ee298ca695ec9e0d650f99a266282.tar.gz
samba-2e78bc7b539ee298ca695ec9e0d650f99a266282.tar.bz2
samba-2e78bc7b539ee298ca695ec9e0d650f99a266282.zip
nss_wrapper: add missing return in nwrap_module_init().
Guenther
Diffstat (limited to 'lib/nss_wrapper')
-rw-r--r--lib/nss_wrapper/nss_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index 862bb896d8..0e02e05cc3 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -464,6 +464,7 @@ static bool nwrap_module_init(const char *name,
if (!*backends) {
NWRAP_ERROR(("%s: out of memory\n",
__location__));
+ return false;
}
(*backends)[*num_backends].name = name;