[libvirt] [PATCH 13/32] Do not VIR_STRDUP the string in udevGetDeviceProperty

Peter Krempa pkrempa at redhat.com
Mon Jun 6 11:16:11 UTC 2016


On Mon, Jun 06, 2016 at 11:01:50 +0200, Ján Tomko wrote:
> Two out of three callers free it right after converting it to a number.
> 
> Also change the comment at the beginning of the function, because
> the comment inside the function told me to.
> ---
>  src/node_device/node_device_udev.c | 72 ++++++++++++--------------------------
>  1 file changed, 23 insertions(+), 49 deletions(-)

ACK




More information about the libvir-list mailing list