tvg_saver: fix memory leaks
authorMira Grudzinska <m.grudzinska@samsung.com>
Sat, 6 Nov 2021 08:59:29 +0000 (09:59 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 10 Nov 2021 01:43:08 +0000 (10:43 +0900)
commit67bdac3d278e871fbc7f7669e55b5a8596b7d30c
tree5c1ad86627f3abe7e756d978690e37c012e8af69
parentb60a00ffc492697b433fbbaee6ed814a2cbfca93
tvg_saver: fix memory leaks

In the cae when Result::InsufficientCondition was retured by the save()
api, the user had to remember to delete the passed paint - fixed.
Also path was not released.
src/lib/tvgSaver.cpp
src/savers/tvg/tvgTvgSaver.cpp