From: Wei Liu Subject: [PATCH 0/8] libxl: make _dispose idempotent and NULL-tolerant Date: Tue, 24 Feb 2015 14:56:56 +0000 Message-ID: <1424789824-19946-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 , ian.jackson@eu.citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org The first two patches are bug fixes. Other patches are used to make _dispose idempotent and NULL-tolerant. Wei. Wei Liu (8): libxl: fix off-by-one error in JSON parser gentest: make testidl valgrind clean libxl: make some _dipose functions idempotent and tolerate NULL gentypes: do not poison struct gentypes: make dispose function tolerate NULL gentypes: set pointer to NULL testidl: call _init and _dispose several times libxl: update libxl.h to say _dispose is idempotent tools/libxl/gentest.py | 22 ++++++++++++++++------ tools/libxl/gentypes.py | 21 +++++++++++++-------- tools/libxl/libxl.c | 11 +++++++++-- tools/libxl/libxl.h | 3 +-- tools/libxl/libxl_cpuid.c | 5 ++++- tools/libxl/libxl_json.c | 2 +- tools/libxl/libxl_utils.c | 5 +++++ 7 files changed, 49 insertions(+), 20 deletions(-) -- 1.9.1