summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper
diff options
context:
space:
mode:
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;