[PULL] [libX11] Static analysis fixes.

Ander Conselvan de Oliveira ander.conselvan-de-oliveira at nokia.com
Thu Apr 14 03:04:15 PDT 2011


Hi Alan,

Please push the static analysis fixes. I squashed both fixes to
_XimGetAttributeID and amended the fix for _XimEncodingNegotiation to
not check for NULL before Xfree.

Thanks,
Ander


The following changes since commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865:
  Alan Coopersmith (1):
        Fix "attrinute" typo in comments in ximcp

are available in the git repository at:

  git://gitorious.org/~anderco/meego-w40/andercos-libx11.git fdo-static-fixes

Ander Conselvan de Oliveira (13):
      Fix memory leak with broken bitmap files in XReadBitmapFileData
      FSWrap: fix potential leak in copy_string_list
      Fix leaks in _XimEncodingNegotiation error paths.
      Fix memory leaks on _XimProtoCreateIC error paths.
      Fix memory leaks on _XimGetAttributeID error paths.
      Fix memory leaks on _XimWriteCachedDefaultTree error paths.
      Fix memory leak on _XimCommitRecv error path.
      Fix memory leaks on _XimCbDispatch error path.
      om: Fix memory leak on read_EncodingInfo error path.
      om: Fix potential memory leak in init_om.
      xcms: Fix error on LINEAR_RGB_InitSCCData error path.
      xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.
      om: Fix memory leaks on get_font_name error paths.

 modules/im/ximcp/imCallbk.c    |    2 +
 modules/im/ximcp/imDefIc.c     |    4 +-
 modules/im/ximcp/imDefIm.c     |   51 +++++++++++++++++++--------------------
 modules/im/ximcp/imDefLkup.c   |    4 ++-
 modules/im/ximcp/imLcIm.c      |    5 +++-
 modules/im/ximcp/imRmAttr.c    |    8 ++++-
 modules/om/generic/omGeneric.c |   40 ++++++++++++++++---------------
 src/FSWrap.c                   |    2 +-
 src/RdBitF.c                   |    5 ++++
 src/xcms/LRGB.c                |    8 +++---
 10 files changed, 73 insertions(+), 56 deletions(-)


More information about the xorg-devel mailing list