halcc: Add checking halcc_manifest_add_hal() return value 78/305978/2
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 14 Feb 2024 10:10:06 +0000 (19:10 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 27 Feb 2024 11:16:39 +0000 (20:16 +0900)
commit083add881652d78c41a39cbb96f0fcf45412c910
treec45a60dd797a2badc8716c937c57a5470a389d40
parentd6b7fef81bc0438a6a5776aec28332dec59a363c
halcc: Add checking halcc_manifest_add_hal() return value

If halcc_manifest_add_hal() returns error, halcc_hal should be free.
Omitted handling code is added.

Change-Id: Ic566968760537f2375cd84e25b877115beeaddb3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
halcc/src/halcc-parser.c