[Libvirt-cim] [PATCH 1 of 2] Fix an issue where EnabledLogicalElementCapabilities ein/ei returns an error

Dan Smith danms at us.ibm.com
Tue Nov 27 23:57:10 UTC 2007


DS> But then clean it up every time through the loop, which should be
DS> causing a crash on the 1..n iterations.  If you're not seeing a
DS> crash, I imagine you're getting lucky.  virDomainFree() protects
DS> against a double-free with some magic, I think, but using list
DS> after the first time through here is broken.

Okay, that was just dumb of me.  I took something in your commit
message and inferred code from it without reading it carefully.

What you're doing is correct, and it's how we do it elsewhere in the
providers.

My mistake :)

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071127/24199cbb/attachment.sig>


More information about the Libvirt-cim mailing list