[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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(-)

-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.