dplayx: Fix static overrun of pDP array in test (Coverity).
This commit is contained in:
parent
6e726e2a91
commit
7dddf097a8
|
@ -4280,9 +4280,8 @@ static void test_EnumGroupsInGroup(void)
|
||||||
checkHR( DP_OK, hr );
|
checkHR( DP_OK, hr );
|
||||||
|
|
||||||
/* - Open session */
|
/* - Open session */
|
||||||
callbackData.pDP = pDP[1];
|
|
||||||
hr = IDirectPlayX_EnumSessions( pDP[1], &dpsd[0], 0, EnumSessions_cb_join,
|
hr = IDirectPlayX_EnumSessions( pDP[1], &dpsd[0], 0, EnumSessions_cb_join,
|
||||||
(LPVOID) &callbackData, 0 );
|
(LPVOID) pDP[1], 0 );
|
||||||
checkHR( DP_OK, hr );
|
checkHR( DP_OK, hr );
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue