[libvirt] [PATCH] fix memory leak in qemuProcessHandleGraphics()
Eric Blake
eblake at redhat.com
Fri Apr 1 16:26:15 UTC 2011
On 03/30/2011 01:46 AM, Wen Congyang wrote:
> 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 | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
ACK - another OOM-only error appropriate for 0.9.0. I'm guessing you
found it by inspection?
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110401/41be7a4c/attachment-0001.sig>
More information about the libvir-list
mailing list