From: Wei Liu Subject: [PATCH v2 for-4.5 0/2] xl/libxl: fix API and two memory leaks Date: Mon, 1 Dec 2014 11:31:11 +0000 Message-ID: <1417433473-17272-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Wei Liu List-Id: xen-devel@lists.xenproject.org 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