[PATCH] xfixes: calloc, not malloc the cursorScreenRec

2011-02-10 Thread Peter Hutterer
Debugging NULL pointers is significantly easier than random memory. Plus, if new fields (such as for pointer barriers) are added they may just be properly initialised. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- xfixes/cursor.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH] xfixes: calloc, not malloc the cursorScreenRec

2011-02-10 Thread Keith Packard
On Fri, 11 Feb 2011 14:44:48 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Keith Packard kei...@keithp.com -- keith.pack...@intel.com pgppQ1FjXApC5.pgp Description: PGP signature