summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-04 22:15:03 +0200
committerVolker Lendecke <vl@samba.org>2008-10-04 22:15:03 +0200
commit9eea6929e3420a0035ec3c0e3f1b4dd24847bbfa (patch)
tree7f91e1cec25b93bcd57d583370bde2e6c94bed7b /source3/libads
parent87f496f3c1ff5c8fd72bcfb6b4af7cb539d5bc47 (diff)
downloadsamba-9eea6929e3420a0035ec3c0e3f1b4dd24847bbfa.tar.gz
samba-9eea6929e3420a0035ec3c0e3f1b4dd24847bbfa.tar.bz2
samba-9eea6929e3420a0035ec3c0e3f1b4dd24847bbfa.zip
Fix an uninitialized variable found by the IBM Checker
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index bfcfcf30b9..40f052281d 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -2828,6 +2828,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;