Re: [PATCH] fix memory leak in qemuProcessHandleGraphics()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ä 2011-4-2 0:26, Eric Blake åé:
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?

Yes, I found it by inspection.
I pushed this patch, thanks.





--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]