Re: [resend with fixed changelog entry PATCH] xfree86: Strip dangling pointers from desiredMode

2012-07-11 Thread Keith Packard
Maarten Lankhorst writes: > Based on the original patch by Chris Wilson, which was a better fix than mine. > > We stash a copy of the desiredMode on the crtc so that we can restore it > after a vt switch. This copy is a simple memcpy and so also stashes a > references to the pointers contained wi

[resend with fixed changelog entry PATCH] xfree86: Strip dangling pointers from desiredMode

2012-07-11 Thread Maarten Lankhorst
Based on the original patch by Chris Wilson, which was a better fix than mine. We stash a copy of the desiredMode on the crtc so that we can restore it after a vt switch. This copy is a simple memcpy and so also stashes a references to the pointers contained within the desiredMode. Those pointers