user32: Fix a memory leak on a error patch (Smatch).
This commit is contained in:
parent
02ce96f425
commit
e6cd096d65
|
@ -828,10 +828,10 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO *bmi,
|
|||
hXorBits = 0;
|
||||
}
|
||||
}
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, pSrcInfo );
|
||||
HeapFree( GetProcessHeap(), 0, pDestInfo );
|
||||
}
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, pSrcInfo );
|
||||
HeapFree( GetProcessHeap(), 0, pDestInfo );
|
||||
}
|
||||
|
||||
if( !hXorBits || !hAndBits )
|
||||
|
|
Loading…
Reference in New Issue