Fix C Generator 45/261145/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 12 Jul 2021 10:10:31 +0000 (19:10 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 12 Jul 2021 10:12:06 +0000 (19:12 +0900)
commit613d7c58e1b1879caa13409408a3d73ffc2c9859
treea8c3709b1ef9d1247571b703df15a81f94f6cd48
parent096c82a89aa09194a1bcd1d6c93ea09ab1898435
Fix C Generator

This patch adds the return value check of the clone function.
If calling the function returns a negative error value, the generated
function returns a negative error value.

Change-Id: I114bb62990413e4e1bfa99625dc6686c65214fd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/gen/c_body_gen_base.cc
idlc/gen/c_body_gen_base_cb.h