mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 07:47:07 +00:00
win32u: Use allocator mechanism to allocate DC attributes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53645
This commit is contained in:
parent
fa058bc3f0
commit
903c91fc60
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue