On Tue, 2018-01-09 at 14:06 -0800, Keith Packard wrote: > Adam Jackson <[email protected]> writes: > > > +static void > > +AnimCurCancelTimer(DeviceIntPtr pDev) > > +{ > > + CursorPtr cur = pDev->spriteInfo->anim.pCursor; > > + > > + if (IsAnimCur(cur)) > > + TimerCancel(GetAnimCur(cur)->timer); > > +} > > + > > Should check for a NULL cursor here.
It does, hidden in the macro: render/animcur.c:#define IsAnimCur(c) ((c) && ((c)->bits == &animCursorBits)) - ajax _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
