Marcus Meissner : dplayx: Remove wrong HeapFree (Coverity).
Module: wine Branch: master Commit: cef28ff30cca633f27bb599c926424f89fb9637e URL: http://source.winehq.org/git/wine.git/?a=commit;h=cef28ff30cca633f27bb599c92... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu May 9 13:19:50 2013 +0200 dplayx: Remove wrong HeapFree (Coverity). --- dlls/dplayx/dplaysp.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/dplayx/dplaysp.c b/dlls/dplayx/dplaysp.c index 9a70901..899348e 100644 --- a/dlls/dplayx/dplaysp.c +++ b/dlls/dplayx/dplaysp.c @@ -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; }
participants (1)
-
Alexandre Julliard