From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2 0/7] libxl: make _dispose idempotent and NULL-tolerant Date: Mon, 2 Mar 2015 17:37:57 +0000 Message-ID: <1425317877.24959.40.camel@citrix.com> References: <1424876166-9618-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: In-Reply-To: <1424876166-9618-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-02-25 at 14:55 +0000, Wei Liu wrote: > The first two patches are bug fixes. > > Other patches are used to make _dispose idempotent and NULL-tolerant. > > Wei. > > Wei Liu (7): All acked + applied, with one typo fixed. > libxl: fix off-by-one error in JSON parser > gentest: make testidl valgrind clean > libxl: make some _dipose functions idempotent and tolerate NULL "dispose". > gentypes: zero out structure in _dispose function > gentypes: make dispose function tolerate 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 | 4 ++-- > 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, 38 insertions(+), 14 deletions(-) >