X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=subsystems%2Fwin32%2Fwin32k%2Feng%2Fengbrush.c;h=c52d8481b3e1849b70a207efd8f897eb0193f508;hp=c61e0e47f9f9ad9805359322df7d69eeb8685de4;hb=b726d7355f0aa394852fa8c56e59cfc9bbc4293c;hpb=9ab4e6808d239977bcba0066e3ca3a64bec5d64b diff --git a/subsystems/win32/win32k/eng/engbrush.c b/subsystems/win32/win32k/eng/engbrush.c index c61e0e47f9f..c52d8481b3e 100644 --- a/subsystems/win32/win32k/eng/engbrush.c +++ b/subsystems/win32/win32k/eng/engbrush.c @@ -37,7 +37,7 @@ EBRUSHOBJ_vInit(EBRUSHOBJ *pebo, PBRUSH pbrush, PDC pdc) ASSERT(pebo->psurfTrg->ppal); pebo->ppalSurf = pebo->psurfTrg->ppal; - GDIOBJ_IncrementShareCount(&pebo->ppalSurf->BaseObject); + GDIOBJ_vReferenceObjectByPointer(&pebo->ppalSurf->BaseObject); if (pbrush->flAttrs & GDIBRUSH_IS_NULL) {