From: Anton Baskanov baskanov@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;