[Tests/Src/IIO] Fix defects about resource leak found from Coverity
authorWook Song <wook16.song@samsung.com>
Tue, 12 Nov 2019 08:10:53 +0000 (17:10 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 14 Nov 2019 09:06:41 +0000 (18:06 +0900)
commitaca2e7891492d149291696d71113469427e2391d
tree584a8444b61f0dda9656817546bed0e4aa00d869
parent4914b4b14e972835eeaa072ccc8c4e4256368fd2
[Tests/Src/IIO] Fix defects about resource leak found from Coverity

This patch fixes those resource leak defects which newly caused by the
previous patch set.

Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/nnstreamer_source/unittest_src_iio.cpp