[Libvirt-cim] [PATCH 3 of 3] EC: Validation of client given object path missing

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Jan 15 12:58:30 UTC 2008


Kaitlin Rupert wrote:
> Heidi Eckhart wrote:
>>          conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s);
>>          if (s.rc != CMPI_RC_OK)
>> -                goto error1;
>> +                goto out;
>
> Should this also check for to see if conn == NULL?
>
Excellent catch - we always check for conn == NULL.

-- 
Regards

Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor




More information about the Libvirt-cim mailing list