[Single] Fix coverity issues
authorGichan Jang <gichan2.jang@samsung.com>
Thu, 16 Dec 2021 06:16:00 +0000 (15:16 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 16 Dec 2021 12:38:06 +0000 (21:38 +0900)
commit1bd86ee0f8a4f6124d10bc522c8706462bfd5243
treeb67e9d64ac9eb7c9a517ad93779145d0ad1776a5
parente1055d5a6767bdacfcce377f46d1a72f57b8ddb2
[Single] Fix coverity issues

 - Remove unrechable code.
 - Fix use after free.

Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
c/src/ml-api-inference-single.c