sw_engine image: fix memory leak.
authorHermet Park <chuneon.park@samsung.com>
Tue, 2 Nov 2021 09:42:16 +0000 (18:42 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 4 Nov 2021 00:38:12 +0000 (09:38 +0900)
commit00a8e5ab5eecb824eb2f99e69ac1b4afbdd45b3b
tree5557053b85d81cc842e0bfe7daf1079ccb85e8a4
parenta29efa1c65bfab4c503267c94c7c6165812d9fe7
sw_engine image: fix memory leak.

reset rle is supposed to be reused, image should keep its pointer.

@Issue: https://github.com/Samsung/thorvg/issues/982
src/lib/sw_engine/tvgSwImage.cpp