In xf86-video-intel/tree/src/intel_driver.c
In I830CloseScreen
xf86_cursors_fini(screen);
i965_free_video(scrn);
screen->CloseScreen = intel->CloseScreen;
(*screen->CloseScreen) (scrnIndex, screen);
In xf86_cursor_fini(), the ScreenPriv->cursor_info has been xfree.
in (*screen->CloseScreen) which point to the upper CloseScreen
function xf86CursorCloseScreen,
if (ScreenPriv->isUp && pScrn->vtSema)
xf86SetCursor(pScreen, NullCursor, ScreenPriv->x, ScreenPriv->y);
in xf86SetCursor
if (pCurs == NullCursor) {
(*infoPtr->HideCursor)(infoPtr->pScrn); // so here use the infoPtr
which has been free in the xf86_cursor_fini again.
return;
who can help confirm this?
freebird
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx