[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 05/17] xenpaging: remove duplicate xc_interface_close call
Fix double-free in xc_interface_close() because xenpaging_teardown() releases the *xch already. Remove second xc_interface_close() call. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> --- tools/xenpaging/xenpaging.c | 2 -- 1 file changed, 2 deletions(-) --- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c +++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c @@ -693,8 +693,6 @@ int main(int argc, char *argv[]) if ( rc == 0 ) rc = rc1; - xc_interface_close(xch); - DPRINTF("xenpaging exit code %d\n", rc); return rc; } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |