[Security] handle return value
authorJaeyun <jy1210.jung@samsung.com>
Wed, 25 Sep 2019 08:17:19 +0000 (17:17 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 25 Sep 2019 10:24:57 +0000 (19:24 +0900)
commitf043421aad570bd2b7eff91cf113cdd9622b5021
treed31e723d9c93a689aca2145433a83c4dc2440380
parente13e6dd85e0d05a9c88501585921dda5692f146f
[Security] handle return value

Fix svace issues, check returned value and file descriptor.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
api/capi/src/nnstreamer-capi-single-new.c
tests/nnstreamer_source/unittest_src_iio.cpp