[CodeClean] handle allocation failure case
authorJaeyun <jy1210.jung@samsung.com>
Fri, 12 Aug 2022 08:32:15 +0000 (17:32 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 12 Aug 2022 09:43:53 +0000 (18:43 +0900)
commitd4826d1fe343d5b6d623cc3f66fdf22de816b2c0
tree567b1ed7a268d9560108390b54141e03f5a65c48
parent620a2ea44ce8dd6e488ee1eb86c6a8050fce3d87
[CodeClean] handle allocation failure case

Fix svace issue, handle error case if memory allocation is failed.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
src/libnnstreamer-edge/nnstreamer-edge-common.c
src/libnnstreamer-edge/nnstreamer-edge-mqtt.c