Re: [PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-14 Thread Keith Packard
On Mon, 14 Mar 2011 14:03:18 -0400, Adam Jackson wrote: > Merged to xserver-next. I had this merged just before leaving for lunch... -- keith.pack...@intel.com pgpncthHX13yB.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org developme

Re: [PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-14 Thread Keith Packard
On Wed, 9 Mar 2011 17:29:14 +0200, Erkki Seppälä wrote: Merged. a19771e..a8146f6 master -> master -- keith.pack...@intel.com pgp7T9458kC1t.pgp Description: PGP signature ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.or

Re: [PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-14 Thread Adam Jackson
On 3/9/11 11:55 AM, Daniel Stone wrote: So this looks fine to me. Thanks! There are many other potential fixes just like this one lurking in misprite.c and mipointer.c if that horrible mess hasn't scared you off yet. Reviewed-by: Daniel Stone Merged to xserver-next. - ajax _

Re: [PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-09 Thread Daniel Stone
Hi, On Wed, Mar 09, 2011 at 05:29:14PM +0200, Erkki Seppälä wrote: > The record allocated by miSpriteDeviceCursorInitialize was not being > released. > > This patch makes misprite use dixRegisterPrivateKey with the record > size argument, which handles the memory management > issues. miSpriteDevi

Re: [PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-09 Thread Erkki Seppala
Oops, I intended to send this to you instead of just Keith and the list - too fast with command line history - I hope you notice it at least this way. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH v2] [xorg/xserver] mi/misprite: use memory management provided by dixRegisterPrivateKey

2011-03-09 Thread Erkki Seppälä
The record allocated by miSpriteDeviceCursorInitialize was not being released. This patch makes misprite use dixRegisterPrivateKey with the record size argument, which handles the memory management issues. miSpriteDeviceCursorInitialize is restructured to initialize pCursorInfo only if miDCDeviceI