[PATCH] Don't destroy the timer on DeviceOff.

Adam Jackson ajax at redhat.com
Thu Dec 10 10:32:28 PST 2009


On Thu, 2009-12-10 at 09:17 -0800, Keith Packard wrote:
> On Thu, 10 Dec 2009 10:29:03 -0500, Adam Jackson <ajax at redhat.com> wrote:
> 
> > DeviceOff is VT switch, DeviceClose is unplug.  We need the timer
> > pre-allocated since we set it during the signal handler and so can't
> > allocate it then, so merely cancel it at DeviceOff, not delete it.
> 
> Where is the TimerFree call going then?

I could have sworn there was already one in DeviceClose, but there
appears not to be.  That's where it belongs though.  Corrected patch to
follow, sorry about that.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20091210/e497d50c/attachment.pgp 


More information about the xorg-devel mailing list