[3/8] crypt32: Remove unused variable and avoid a memory leak on error path.
28 Oct
2013
28 Oct
'13
5:55 p.m.
Hi, On 2013-10-28 09:28, Dmitry Timoshkov wrote:
- ret = ReadFile(file, blob->pbData, blob->cbData, &read, NULL); + ret = ReadFile(file, blob->pbData, blob->cbData, NULL, NULL);
the lpNumberOfBytesRead parameter is not optional on Windows for synchronous I/O, so could you keep it please? I've had to add it back in elsewhere to prevent Wine functions from crashing on Win. Thanks! Best, Thomas
4518
Age (days ago)
4518
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Faber