Commit 903c91fc authored by David Kahurani's avatar David Kahurani Committed by Alexandre Julliard

win32u: Use allocator mechanism to allocate DC attributes.

parent fa058bc3
......@@ -543,7 +543,7 @@ INT WINAPI NtGdiSaveDC( HDC hdc )
release_dc_ptr( dc );
return 0;
}
if (!(newdc->attr = calloc( 1, sizeof(*newdc->attr) )))
if (!(newdc->attr = alloc_dc_attr() ))
{
free( newdc );
release_dc_ptr( dc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment