Remove NULL check before _aligned_free call
This commit is contained in:
parent
2e0253ae3a
commit
e3adeb1059
@ -131,11 +131,8 @@ 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;
|
||||
}
|
||||
_aligned_free(wf_bitmap->_bitmap.data);
|
||||
wf_bitmap->_bitmap.data = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user