Re: [libvirt] [PATCH 20/32] Remove extra allocation in udevGetDeviceSysfsAttr

2016-06-06 Thread Peter Krempa
On Mon, Jun 06, 2016 at 11:01:57 +0200, Ján Tomko wrote: > Most of the code paths free it right after converting it to > an integer. > --- > src/node_device/node_device_udev.c | 98 > +++--- > 1 file changed, 29 insertions(+), 69 deletions(-) I guess it makes sens

[libvirt] [PATCH 20/32] Remove extra allocation in udevGetDeviceSysfsAttr

2016-06-06 Thread Ján Tomko
Most of the code paths free it right after converting it to an integer. --- src/node_device/node_device_udev.c | 98 +++--- 1 file changed, 29 insertions(+), 69 deletions(-) diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c index