mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Fix derefercing of null pointer
- Brought to you by Amine Khaldi (amine48rz) svn path=/trunk/; revision=43139
This commit is contained in:
@@ -581,8 +581,10 @@ bind_lease(struct interface_info *ip)
|
||||
Adapter = AdapterFindInfo( ip );
|
||||
|
||||
if( Adapter ) setup_adapter( Adapter, new_lease );
|
||||
else warning("Could not find adapter for info %p\n", ip);
|
||||
|
||||
else {
|
||||
warning("Could not find adapter for info %p\n", ip);
|
||||
return;
|
||||
}
|
||||
set_name_servers( Adapter, new_lease );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user