linux/tools/iio
Hartmut Knaack 63f05c855f tools:iio: free channel-array completely
In iio_utils.c build_channel_array() dynamically allocates the string
generic_name in the current iio_channel_info, which doesn't got freed in
case of an error.
This dynamically allocated channel-array is used by generic_buffer, and
needs to be freed on the error/exit path.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-05-31 17:20:16 +01:00
..
generic_buffer.c tools:iio: free channel-array completely 2015-05-31 17:20:16 +01:00
iio_event_monitor.c tools: iio: Define _GNU_SOURCE in Makefile 2015-03-09 17:17:26 +00:00
iio_utils.c tools:iio: free channel-array completely 2015-05-31 17:20:16 +01:00
iio_utils.h
lsiio.c tools: iio: lsiio: Remove unused variables 2015-03-09 17:18:25 +00:00
Makefile iio: make tools more cross-compilation friendly 2015-05-10 20:31:45 +01:00