From: Volker Lendecke Date: Sun, 5 Oct 2008 02:38:42 +0000 (-0700) Subject: Fix an uninitialized variable found by the IBM Checker X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65169e4b5f182f1614e102bb0e09326a26bd5b5d;p=thirdparty%2Fsamba.git Fix an uninitialized variable found by the IBM Checker --- diff --git a/source/libads/ldap.c b/source/libads/ldap.c index 063645febf7..842e4fd0df1 100644 --- a/source/libads/ldap.c +++ b/source/libads/ldap.c @@ -2639,6 +2639,7 @@ ADS_STATUS ads_domain_func_level(ADS_STRUCT *ads, uint32 *val) if ( (ads_s = ads_init( ads->server.realm, ads->server.workgroup, ads->server.ldap_server )) == NULL ) { + status = ADS_ERROR_NT(NT_STATUS_NO_MEMORY); goto done; } ads_s->auth.flags = ADS_AUTH_ANON_BIND;