Fixed wrong pointer passed to unlock method.

This commit is contained in:
soukoku
2015-01-03 12:58:37 -05:00
parent 844f84e259
commit d7a2bebe2a
4 changed files with 17 additions and 9 deletions

View File

@@ -81,7 +81,8 @@ namespace NTwain
{
if (baseAddr != IntPtr.Zero)
{
memoryManager.Unlock(baseAddr);
//memoryManager.Unlock(baseAddr);
memoryManager.Unlock(capability.Container);
}
}
}