On 12/10/2010 10:26 AM, Matthias Bolte wrote:
> 2010/12/10 Eric Blake <[email protected]>:
>> * src/util/command.c (virCommandFree): Free data from
>> virCommandSetInputBuffer.

> At first I wanted to complain that virCommandSetInputBuffer isn't
> documented to take ownership of the inbuf, then I saw that it's
> strdup'ed :)

Yeah, virCommandSetInputBuffer takes char*, virCommandSetOutputBuffer
takes char**; leaving subtly different lifetimes for the resulting strings.

> 
> ACK.

Thanks; pushed.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to