[Intel-gfx] who can help confirm this

Deen Zheng zhengdeen at gmail.com
Mon Nov 15 05:23:50 CET 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20101115/e8ed3fe0/attachment.html>


More information about the Intel-gfx mailing list