From: Arran Cudbard-Bell Date: Mon, 22 Jun 2015 01:04:47 +0000 (-0400) Subject: result may now be NULL X-Git-Tag: release_3_0_9~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d8c081a9ce2785cbbf37cbecf916f3bcfb9707;p=thirdparty%2Ffreeradius-server.git result may now be NULL --- diff --git a/src/modules/rlm_ldap/ldap.c b/src/modules/rlm_ldap/ldap.c index e32a2ad1c7c..54b211f4d3f 100644 --- a/src/modules/rlm_ldap/ldap.c +++ b/src/modules/rlm_ldap/ldap.c @@ -477,7 +477,7 @@ ldap_rcode_t rlm_ldap_result(rlm_ldap_t const *inst, ldap_handle_t const *conn, *error = NULL; if (extra) *extra = NULL; - *result = NULL; + if (result) *result = NULL; /* * We always need the result, but our caller may not