svg_loader: fix memory violation issues.
authorHermet Park <chuneon.park@samsung.com>
Thu, 24 Jun 2021 09:38:23 +0000 (18:38 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Mon, 28 Jun 2021 00:54:06 +0000 (09:54 +0900)
commit1d4777c70f0b028c6694f942014347ef095745c3
tree04fa67534feef6df56e01d6e77b43acf543de4fc
parent508e78afe90791991b8048af3845de9ed323bb28
svg_loader: fix memory violation issues.

copy attribute must copy the url data,
otherwise, url memory can be atempted freeing twice.

also, fix the memory leak in multiple composition case.
src/loaders/svg/tvgSvgLoader.cpp