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

2016-06-06 Thread Peter Krempa
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 >

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

2016-06-06 Thread Ján Tomko
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(+