mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-01 10:54:08 +08:00
Fixed wrong pointer passed to unlock method.
This commit is contained in:
@@ -81,7 +81,8 @@ namespace NTwain
|
||||
{
|
||||
if (baseAddr != IntPtr.Zero)
|
||||
{
|
||||
memoryManager.Unlock(baseAddr);
|
||||
//memoryManager.Unlock(baseAddr);
|
||||
memoryManager.Unlock(capability.Container);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user