[PATCH 00/16] More static analysis fixes for Xlib

Ander Conselvan de Oliveira ander.conselvan-de-oliveira at nokia.com
Wed Mar 30 06:11:53 PDT 2011


This series contains fixes for problems found in Xlib thought static
code analysis.

Ander Conselvan de Oliveira (16):
  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 leak on _XimGetAttributeID error path.
  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.
  Fix memory leak on _XimGetAttributeID error path.
  om: Fix memory leak on get_font_name error path.
  om: Fix potential memory leak in init_om.
  Fix memory leak on XShrinkRegion error path.
  Fix memory leak in XXorRegion error path.
  xcms: Fix error on LINEAR_RGB_InitSCCData error path.
  xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.

 modules/im/ximcp/imCallbk.c    |    2 +
 modules/im/ximcp/imDefIc.c     |    4 +-
 modules/im/ximcp/imDefIm.c     |   53 ++++++++++++++++++++-------------------
 modules/im/ximcp/imDefLkup.c   |    4 ++-
 modules/im/ximcp/imLcIm.c      |    5 +++-
 modules/im/ximcp/imRmAttr.c    |    8 ++++-
 modules/om/generic/omGeneric.c |   30 +++++++++++++---------
 src/FSWrap.c                   |    2 +-
 src/RdBitF.c                   |    5 ++++
 src/Region.c                   |    9 +++++-
 src/xcms/LRGB.c                |    8 +++---
 11 files changed, 79 insertions(+), 51 deletions(-)



More information about the xorg-devel mailing list