Author: sginsberg
Date: Sun Dec 21 14:35:19 2008
New Revision: 38247
URL:
http://svn.reactos.org/svn/reactos?rev=38247&view=rev
Log:
- Revert 38233 as it kills dhcp.exe
Modified:
trunk/reactos/base/services/dhcp/adapter.c
Modified: trunk/reactos/base/services/dhcp/adapter.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/dhcp/adapter…
==============================================================================
--- trunk/reactos/base/services/dhcp/adapter.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/dhcp/adapter.c [iso-8859-1] Sun Dec 21 14:35:19 2008
@@ -288,14 +288,12 @@
Adapter->DhclientInfo.next = ifi;
ifi = &Adapter->DhclientInfo;
InsertTailList( &AdapterList, &Adapter->ListEntry );
- }
- }
+ } else { free( Adapter ); Adapter = 0; }
+ } else { free( Adapter ); Adapter = 0; }
if( !Adapter )
DH_DbgPrint(MID_TRACE,("Adapter %d was rejected\n",
Table->table[i].dwIndex));
- free( Adapter );
- Adapter = 0;
}
DH_DbgPrint(MID_TRACE,("done with AdapterInit\n"));