[libvirt] [PATCH 1/4] Don't clobber 'ret' variable in testCompareXMLToXMLHelper
Eric Blake
eblake at redhat.com
Wed Sep 25 17:47:09 UTC 2013
On 09/25/2013 11:23 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The qemuxml2xmltest.c function testCompareXMLToXMLHelper would
> clobber the 'ret' variable causing it to mis-diagnose OOM
> errors.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> tests/qemuxml2xmltest.c | 23 +++++++++++++----------
> 1 file changed, 13 insertions(+), 10 deletions(-)
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/20130925/97cd7d17/attachment-0001.sig>
More information about the libvir-list
mailing list