Commit 7dddf097 authored by Ismael Barros's avatar Ismael Barros Committed by Alexandre Julliard

dplayx: Fix static overrun of pDP array in test (Coverity).

parent 6e726e2a
...@@ -4280,9 +4280,8 @@ static void test_EnumGroupsInGroup(void) ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment