Commit 40305ee1 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

dplayx: Fix a memory leak (Coverity).

parent 1848fd33
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment