mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,sdl] reset pointer after memory release
This commit is contained in:
@@ -61,6 +61,7 @@ static BOOL sdl_Pointer_New(rdpContext* context, rdpPointer* pointer)
|
||||
&context->gdi->palette))
|
||||
{
|
||||
winpr_aligned_free(ptr->data);
|
||||
ptr->data = nullptr;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user