]> xenbits.xensource.com Git - libvirt.git/commit
libxl: Fix memory leak if pthread_create fails.
authorKonrad Rzeszutek Wilk <konrad@kernel.org>
Thu, 26 Mar 2015 01:35:11 +0000 (21:35 -0400)
committerJim Fehlig <jfehlig@suse.com>
Thu, 26 Mar 2015 20:22:36 +0000 (14:22 -0600)
commit95003cd511b74fe89f374f40d505b89ce37cbce1
treeea17336af0bed704e278e2d2ce04d31773943448
parentfc7b23db02062f5649022db1fd238c4bcc28476a
libxl: Fix memory leak if pthread_create fails.

If we fail to create the thread we leak the shutdown_info
structure.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
src/libxl/libxl_domain.c