Skip to content

xl/libxl: fix API and two memory leaks

Wei Liu xen-devel 2 versions – Applied

Status from this message: Applied both, including the modification discussed in my reply to the

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesApplied
  2. v11 patch 3 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2libxl: un-constify return value of libxl_basenametools/libxl/libxl.h tools/libxl/libxl_utils.c tools/libxl/libxl_utils.h+19 -22 replies
2/2xl: fix two memory leakstools/libxl/xl_cmdimpl.c+6 -22 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan CampbellKonrad Rzeszutek Wilk
SeriesA-b Release-Acked-by
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 for-4.5 0/2] xl/libxl: fix API and two memory leaks

Return value of libxl_basename was erroneously marked as "const". This series removes that "const" and fixes two memory leaks in xl.

I think these fixes should be included in 4.5, given that they fix real issues and are very straight foward to reason about.

Wei.

Wei Liu (2):
libxl: un-constify return value of libxl_basename
xl: fix two memory leaks

 tools/libxl/libxl.h       |   10 ++++++++++
 tools/libxl/libxl_utils.c |    5 ++++-
 tools/libxl/libxl_utils.h |    6 +++++-
 tools/libxl/xl_cmdimpl.c  |    8 ++++++--
 4 files changed, 25 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.10.4