[libvirt] [PATCH] libxl: unref DomainObjPrivate on error path
Eric Blake
eblake at redhat.com
Thu Aug 15 16:26:56 UTC 2013
On 08/15/2013 10:23 AM, Jim Fehlig wrote:
> There is a potential leak of a newly created libxlDomainObjPrivate
> when subsequent allocation of the object's chrdev field fails.
> Unref the object on such an error so that it is properly disposed.
> ---
> src/libxl/libxl_driver.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130815/ba3c0a24/attachment-0001.sig>
More information about the libvir-list
mailing list