[libvirt] [PATCH 3/4] qemu: simplify string cleanup

Osier Yang jyang at redhat.com
Mon May 13 08:11:19 UTC 2013


On 27/04/13 05:01, Eric Blake wrote:
> No need to open code a string list cleanup, if we are nice
> to the caller by guaranteeing a NULL-terminated result.
>
> * src/qemu/qemu_monitor_json.c (qemuMonitorJSONGetCPUDefinitions)
> (qemuMonitorJSONGetCommands, qemuMonitorJSONGetEvents)
> (qemuMonitorJSONGetObjectTypes, qemuMonitorJSONGetObjectProps):
> Use simpler cleanup.
>
> Signed-off-by: Eric Blake <eblake at redhat.com>
>

ACK




More information about the libvir-list mailing list