5 Oct
2024
5 Oct
'24
11:31 a.m.
From: Anton Baskanov <baskanov(a)gmail.com> --- dlls/dplayx/dplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index ddc784ac305..933abd8bfe9 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -3360,6 +3360,7 @@ static HRESULT DP_SecureOpen( IDirectPlayImpl *This, const DPSESSIONDESC2 *lpsd, break; } + free( This->dp2->lpSessionDesc ); This->dp2->lpSessionDesc = DP_DuplicateSessionDesc( sessionDesc, bAnsi, bAnsi ); if ( !This->dp2->lpSessionDesc ) return DPERR_OUTOFMEMORY; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6619