]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fixed typo in tapdrvr.c -- the fix is functionally cosmetic
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Thu, 2 Nov 2006 03:01:16 +0000 (03:01 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Thu, 2 Nov 2006 03:01:16 +0000 (03:01 +0000)
because NdisFreeSpinLock is a null macro.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1429 e7ae566f-a301-0410-adde-c780ea21d3b5

tap-win32/tapdrvr.c

index 9c6304bc2de2d6bc31192db0b9a8e84a55cd70ce..3ad1060dda64c4304069c4a96ddd2f93c48bb6b7 100755 (executable)
@@ -613,7 +613,7 @@ AdapterFreeResources (TapAdapterPointer p_Adapter)
     NdisMDeregisterAdapterShutdownHandler (p_Adapter->m_MiniportAdapterHandle);
 
   if (p_Adapter->m_MCLockAllocated)
-    NdisFreeSpinLock (&l_Adapter->m_MCLock);
+    NdisFreeSpinLock (&p_Adapter->m_MCLock);
 }
 
 VOID