]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Do not VIR_STRDUP the string in udevGetDeviceProperty
authorJán Tomko <jtomko@redhat.com>
Fri, 3 Jun 2016 13:25:22 +0000 (15:25 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 7 Jun 2016 10:00:36 +0000 (12:00 +0200)
commit0d372687ebd1a04228ebf7d8733a5f3e1cae9562
tree9a72947fa43efdba670a91a60c065bbac9f8a1d5
parentfde3a38e03aeb874c06f1a906cce98708df806d4
Do not VIR_STRDUP the string in udevGetDeviceProperty

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