- Set the MDL we just freed to NULL so we don't try to free it again later

svn path=/branches/aicom-network-fixes/; revision=35274
This commit is contained in:
Cameron Gutman 2008-08-11 14:38:17 +00:00
parent d6823d52cf
commit 4873208286

View file

@ -116,6 +116,7 @@ VOID UnlockBuffers( PAFD_WSABUF Buf, UINT Count, BOOL Address ) {
if( Map[i].Mdl ) {
MmUnlockPages( Map[i].Mdl );
IoFreeMdl( Map[i].Mdl );
Map[i].Mdl = NULL;
}
}