Remove NULL check before _aligned_free call
@@ -131,13 +131,10 @@ static void wf_Bitmap_Free(rdpContext* context, rdpBitmap* bitmap)
DeleteObject(wf_bitmap->bitmap);
DeleteDC(wf_bitmap->hdc);
- if (wf_bitmap->_bitmap.data)
- {
_aligned_free(wf_bitmap->_bitmap.data);
wf_bitmap->_bitmap.data = NULL;
}
}
-}
static BOOL wf_Bitmap_Paint(rdpContext* context, rdpBitmap* bitmap)
{
