[PULL v2] Memory cleanups

Mikhail Gusarov dottedmag at dottedmag.net
Fri Jun 11 05:13:08 PDT 2010


The following changes since commit 620ca54aaa0b363fcf68cec1bd6c37e68c988352:        
 
  Merge remote branch 'alanc/master' (2010-06-10 19:18:53 -0700)

are available in the git repository at:

  git://anongit.freedesktop.org/~dottedmag/xserver for-keithp

Matt Turner (2):
      record: move free() to after last use of pContext
      Remove more superfluous if(p) checks around free(p)

Mikhail Gusarov (8):
      Get rid of xstrdup when argument is definitely non-NULL
      dmx: Get rid of xstrdup when argument is definitely non-NULL
      kdrive: Get rid of xstrdup when argument is definitely non-NULL
      xwin: Get rid of xstrdup when argument is definitely non-NULL
      xquartz: Get rid of xstrdup when argument is definitely non-NULL
      xfree86: Get rid of xstrdup when argument is definitely non-NULL
      config: Replace xstrdup with strdup in add_option()
      xkb: replace xstrdup with strdup in Win32System

 config/config.c                   |    4 ++--
 config/dbus.c                     |    8 ++++----
 config/hal.c                      |   14 +++++++-------
 config/udev.c                     |    6 +++---
 dix/dixfonts.c                    |    2 +-
 exa/exa_glyphs.c                  |   12 ++++--------
 glx/glxcmds.c                     |    2 +-
 glx/glxscreens.c                  |    6 +++---
 hw/dmx/input/dmxinputinit.c       |    4 ++--
 hw/dmx/input/usb-keyboard.c       |    2 +-
 hw/kdrive/ephyr/ephyrhostvideo.c  |    6 ++----
 hw/kdrive/ephyr/hostx.c           |   25 ++++++++-----------------
 hw/kdrive/src/kinput.c            |   12 ++++++------
 hw/xfree86/common/xf86Configure.c |   20 ++++++++++----------
 hw/xfree86/common/xf86Option.c    |    2 +-
 hw/xfree86/loader/loadmod.c       |    6 +++---
 hw/xfree86/modes/xf86Cursors.c    |    7 ++-----
 hw/xfree86/os-support/bus/Sbus.c  |    6 ++----
 hw/xquartz/GL/indirect.c          |   12 ++++++------
 hw/xwin/InitOutput.c              |   13 +++++--------
 hw/xwin/glx/indirect.c            |    6 +++---
 hw/xwin/winconfig.c               |    4 ++--
 record/record.c                   |    4 ++--
 xkb/XKBGAlloc.c                   |   18 ++++++------------
 xkb/XKBMAlloc.c                   |   18 ++++++------------
 xkb/ddxList.c                     |    5 +----
 xkb/ddxLoad.c                     |    7 ++++++-
 xkb/xkb.c                         |   21 ++++++++++++---------
 xkb/xkbInit.c                     |    6 ++----
 xkb/xkbUtils.c                    |   12 ++++++------
 30 files changed, 119 insertions(+), 151 deletions(-)

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100611/d07f5b3d/attachment.pgp>


More information about the xorg-devel mailing list