common paint: fix memory leak case.
authorHermet Park <chuneon.park@samsung.com>
Tue, 23 Mar 2021 07:35:22 +0000 (16:35 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 24 Mar 2021 05:34:32 +0000 (14:34 +0900)
commited9fc22ea607df7565900ea8a565695edbae1e97
treef4180e161843c5f7daa6d297bca62f2d3a556476
parent82b144291d4a30a493d4917df2db7caf9f4337d6
common paint: fix memory leak case.

free the previous composition target if any,
before reset with the new one.
src/lib/tvgPaint.h