mirror of
https://github.com/reactos/wine.git
synced 2024-11-30 23:20:56 +00:00
wtsapi32: Remove useless info free (Coverity).
This commit is contained in:
parent
0d00e16327
commit
a2894d4e41
@ -69,13 +69,11 @@ static void test_WTSEnumerateProcessesW(void)
|
||||
ok(GetLastError()== ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got: %d\n", GetLastError());
|
||||
if (info) WTSFreeMemory(info);
|
||||
|
||||
info = NULL;
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = WTSEnumerateProcessesW(WTS_CURRENT_SERVER_HANDLE, 0, 1, NULL, &count);
|
||||
ok(!ret, "expected WTSEnumerateProcessesW to fail\n");
|
||||
todo_wine
|
||||
ok(GetLastError()== ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER got: %d\n", GetLastError());
|
||||
if (info) WTSFreeMemory(info);
|
||||
|
||||
info = NULL;
|
||||
SetLastError(0xdeadbeef);
|
||||
|
Loading…
Reference in New Issue
Block a user