[client,sdl] reset pointer after memory release

This commit is contained in:
akallabeth
2026-01-26 11:01:17 +01:00
parent 414f701464
commit c42ecbd183

View File

@@ -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;
}