tools:iio: catch errors in string allocation
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 31 May 2015 12:40:02 +0000 (14:40 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2015 18:21:10 +0000 (19:21 +0100)
commite9e45b43b8f06273d9b78f187042dff0bf5be0a5
tree2e0bb238e6b234a12366c545e879b9b6646b9985
parent2156b179993e3d5b422976181ba17d91153313e1
tools:iio: catch errors in string allocation

This patch catches errors in string allocation in generic_buffer.c,
iio_event_monitor.c, iio_utils.c and lsiio.c.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/generic_buffer.c
tools/iio/iio_event_monitor.c
tools/iio/iio_utils.c
tools/iio/lsiio.c