[C-Api] free data handle in src node
authorJaeyun <jy1210.jung@samsung.com>
Thu, 4 Jul 2019 06:52:45 +0000 (15:52 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 8 Jul 2019 10:22:29 +0000 (19:22 +0900)
commit0265104b59c2b6ae5b2277ba566bb8974d6567da
tree0913790617e957a62d8dbf9d310e6b2b15a74ec4
parent790e333208b3e7d6a18fca5f852b45a0604076e6
[C-Api] free data handle in src node

If buf policy is auto-free, free data handle for each case.

Also, added code to remove duplicated code when constructung the pipelie.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
api/capi/include/nnstreamer.h
api/capi/src/nnstreamer-capi-pipeline.c
tests/tizen_capi/unittest_tizen_capi.cpp