revert xmlDocSetRootElement() location 57/307857/1
authordyamy-lee <dyamy.lee@samsung.com>
Tue, 12 Mar 2024 11:20:29 +0000 (20:20 +0900)
committerTizen AI <ai.tzn.sec@samsung.com>
Thu, 14 Mar 2024 01:55:24 +0000 (10:55 +0900)
commit1c2d7f8556a6749ebe7e1be7a216c6c5c2d2c9c4
treec5cc1a50f0bcb1991ca2429a469d58301d7b74e9
parent4c793dad4b8ee41aad2472004c50e4dbbb88e559
revert xmlDocSetRootElement() location

Inside xmlDocSetRootElement(), it checked root is null.
If root is null, it doesn't connect it's memory. So, it needs not null of root.
Then, this patch rollback to previous logic.

Change-Id: Ia291aec3a55b5d53e211de6d181df31e02cc8855
engine-parser/src/vc-engine-parser.c