]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid double free in errors in virsh
authorJim Fehlig <jfehlig@novell.com>
Tue, 29 Sep 2009 11:42:42 +0000 (13:42 +0200)
committerDaniel Veillard <veillard@redhat.com>
Tue, 29 Sep 2009 11:46:45 +0000 (13:46 +0200)
commit1caa19cb0667233e9775d9d860c4766151542d23
tree43edc1f7543e501033fe9f286196eb840e29cf8d
parent879cd8cc2ba00f795913f296556e05f25afa7877
Avoid double free in errors in virsh

* tools/virsh.c: it was possible to get vshDeinit to call itself back
  via vshError, remove the doexit parameter of vshError to avoid the
  possibility and make sure to exit directly after in those case.
tools/virsh.c