]> git.ipfire.org Git - thirdparty/libvirt.git/commit
fix memory leak in qemuProcessHandleGraphics()
authorWen Congyang <wency@cn.fujitsu.com>
Wed, 30 Mar 2011 07:46:41 +0000 (15:46 +0800)
committerWen Congyang <ghostwcy@gmail.com>
Sun, 3 Apr 2011 01:13:53 +0000 (09:13 +0800)
commit4a3976211d01525d43d74422b98d92a2d0f9bcb5
tree10a7278aafaee4c16a525b9a187981178b41c267
parent19f916a764ed471a98223310a373f06671cafcaa
fix memory leak in qemuProcessHandleGraphics()

If strdup("x509dname") or strdup("saslUsername") success, but
strdup(x509dname) or strdup(saslUsername) failed, subject->nidentity
is not the num elements of subject->identities, and we will leak some
memory.
src/qemu/qemu_process.c