user32: Fix a memory leak on a error patch (Smatch).

This commit is contained in:
Michael Stefaniuc 2009-10-06 00:53:24 +02:00 committed by Alexandre Julliard
parent 02ce96f425
commit e6cd096d65
1 changed files with 3 additions and 3 deletions

View File

@ -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 )