xserver/mi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mikhail Gusarov 0a4d8cbdcd Remove more superfluous if(p) checks around free(p)
This patch has been generated by the following Coccinelle semantic patch:

@@
expression E;
@@

-if(E) { free(E); }
+free(E);

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2010-06-06 20:27:18 +07:00
..
Makefile.am Move mi/miregion.c to dix/region.c 2010-06-05 17:48:20 -07:00
mi.h Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
miarc.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mibitblt.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mibstore.c Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
mibstore.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mibstorest.h
micmap.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
micmap.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
micoord.h Unifdef sgi. 2008-07-23 13:37:42 -04:00
micopy.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
micursor.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midash.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
midispcur.c Allocate per-screen device/cursor-bits private keys in midispcur 2010-06-05 19:31:37 -07:00
mieq.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
miexpose.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
mifillarc.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mifillarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifillrct.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mifpoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mifpolycon.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
migc.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
migc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
miglblt.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
miinitext.c Boolean-or short-circuits, so (a || (!a && ...)) is redundant. Simplify. 2010-04-26 19:18:41 -07:00
miline.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
mioverlay.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
mioverlay.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipointer.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
mipointer.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
mipointrst.h
mipoly.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipoly.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolycon.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mipolygen.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mipolypnt.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
mipolyrect.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mipolyseg.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolytext.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mipolyutil.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
mipushpxl.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
miscanfill.h
miscrinit.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
mispans.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
mispans.h Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
misprite.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
misprite.h mi: Delete unused flicker-free MoveCursor code. 2010-06-03 14:03:22 -07:00
mistruct.h
mivalidate.h
mivaltree.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
miwideline.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
miwideline.h Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
miwindow.c Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
mizerarc.c Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
mizerarc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerclip.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
mizerline.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00