fix coverity CID: 1123841, 1123966
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 11 Feb 2020 06:39:32 +0000 (15:39 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 12 Feb 2020 01:42:50 +0000 (17:42 -0800)
commit20ec186dac622446c5f30ce63d44d14dda1f8749
tree8026d5bab82fddc4fe66b222904e0bacacc9515b
parent862d05cb645beef3b8efb482df757ba15c9959dd
fix coverity CID: 1123841, 1123966
1123841 - check the return value of sensor_listener_start
1123966 - g_free the newly allocated memory

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ext/nnstreamer/tensor_source/tensor_src_tizensensor.c