From 2c47368d682ee908e79bc43d5c865049397440e1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 19 Jan 2011 23:04:13 +0100 Subject: [PATCH] s3-lib: Fixed a missing return value in tldap. s3-lib: Fixed a missing return value in tldap. --- source3/lib/tldap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 56cd8709908..f97dc7c11d7 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -2371,6 +2371,7 @@ void tldap_msg_sctrls(struct tldap_message *msg, int *num_sctrls, if (msg == NULL) { *sctrls = NULL; *num_sctrls = 0; + return; } *sctrls = msg->res_sctrls; *num_sctrls = talloc_array_length(msg->res_sctrls); -- 2.11.4.GIT