dplayx: Remove wrong HeapFree (Coverity).

oldstable
Marcus Meissner 2013-05-09 13:19:50 +02:00 committed by Alexandre Julliard
parent 81ea726e64
commit cef28ff30c
1 changed files with 0 additions and 2 deletions

View File

@ -384,13 +384,11 @@ static HRESULT WINAPI IDirectPlaySPImpl_GetSPPlayerData
/* What to do in the case where there is nothing set yet? */
if( dwFlags == DPSET_LOCAL )
{
HeapFree( GetProcessHeap(), 0, lpPlayerData->lpPlayerLocalData );
*lplpData = lpPlayerData->lpPlayerLocalData;
*lpdwDataSize = lpPlayerData->dwPlayerLocalDataSize;
}
else if( dwFlags == DPSET_REMOTE )
{
HeapFree( GetProcessHeap(), 0, lpPlayerData->lpPlayerRemoteData );
*lplpData = lpPlayerData->lpPlayerRemoteData;
*lpdwDataSize = lpPlayerData->dwPlayerRemoteDataSize;
}