<pre><code>In xf86-video-intel/tree/src/intel_driver.c<br>In I830CloseScreen<br> xf86_cursors_fini(screen);<br><br> i965_free_video(scrn);<br><br> screen->CloseScreen = intel->CloseScreen;<br> (*screen->CloseScreen) (scrnIndex, screen);<br>
In xf86_cursor_fini(), the ScreenPriv->cursor_info has been xfree. <br>in (*screen->CloseScreen) which point to the upper CloseScreen function xf86CursorCloseScreen, <br> if (ScreenPriv->isUp && pScrn->vtSema)<br>
xf86SetCursor(pScreen, NullCursor, ScreenPriv->x, ScreenPriv->y); <br>in xf86SetCursor<br> if (pCurs == NullCursor) {<br> (*infoPtr->HideCursor)(infoPtr->pScrn); // so here use the infoPtr which has been free in the xf86_cursor_fini again.<br>
return;<br> <br><br>who can help confirm this?<br><br><br>freebird<br></code></pre>