Fix NPatch memory leak 01/284001/3
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 8 Nov 2022 08:41:16 +0000 (17:41 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 8 Nov 2022 12:32:15 +0000 (21:32 +0900)
commitbe673aef7227685c6aac16c74ce2abf2142e469d
tree966bdea52c21bd643cbe047426dcd53db848d7e3
parentd4938b4b2872ea432f45fcdedbc13e85af0d08df
Fix NPatch memory leak

Make NPatchInfo hold unique_ptr of NPatchData.
and delete copy assign operator so we can guard
untracked unique_ptr<NPatchData> memory movement.

Change-Id: I7d003cc08a51b60f91d0d8fdb33ce74b5d5cd562
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp
dali-toolkit/internal/visuals/npatch-loader.cpp
dali-toolkit/internal/visuals/npatch-loader.h