[PATCH 0/1] MR4500: dplayx: Fix a memory leak (Coverity).
25 Nov
25 Nov
2:37 p.m.
New subject: [PATCH 1/1] dplayx: Fix a memory leak (Coverity).
From: Zhiyi Zhang <zzhang(a)codeweavers.com> --- dlls/dplayx/dplay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dplayx/dplay.c b/dlls/dplayx/dplay.c index 6945e34b7e8..9b287001e9e 100644 --- a/dlls/dplayx/dplay.c +++ b/dlls/dplayx/dplay.c @@ -4198,6 +4198,7 @@ static BOOL DP_BuildSPCompoundAddr( LPGUID lpcSpGuid, LPVOID* lplpAddrBuf, if( FAILED(hr) ) { ERR( "can't create address: %s\n", DPLAYX_HresultToString( hr ) ); + free( *lplpAddrBuf ); return FALSE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4500
7:54 p.m.
New subject: [PATCH 0/1] MR4500: dplayx: Fix a memory leak (Coverity). - approved
This merge request was approved by Alistair Leslie-Hughes. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4500
832
Age (days ago)
832
Last active (days ago)
2 comments
3 participants
participants (3)
-
Alistair Leslie-Hughes (@alesliehughes) -
Zhiyi Zhang -
Zhiyi Zhang (@zhiyi)