]> xenbits.xensource.com Git - xen.git/commit
xl: Return void from libxl_free() and libxl_free_all()
author"Gianni Tedesco (3P)" <gianni.tedesco@citrix.com>
Wed, 11 Aug 2010 12:01:47 +0000 (13:01 +0100)
committer"Gianni Tedesco (3P)" <gianni.tedesco@citrix.com>
Wed, 11 Aug 2010 12:01:47 +0000 (13:01 +0100)
commitf94a432a98d3748edf17bb4a6e1b35a29eefb9d5
treed0523607e82f4078a8141dbd088d2c6f2534823d
parentd5caa669daa5b803e3e8dcf9cdebd1b0f7e42a57
xl: Return void from libxl_free() and libxl_free_all()
Also abort() if a pointer passed in to libxl_free() cannot be found in the
mini-gc structures. This exposes several real bugs (ie. not just the
libxl_free() something that was allocated via malloc variety).

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl_internal.c
tools/libxl/libxl_internal.h