[Tizen] Fix memory leak 30/311930/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20240531.044457
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 30 May 2024 12:21:05 +0000 (21:21 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Thu, 30 May 2024 13:07:52 +0000 (22:07 +0900)
commit0d64628d508692fc8518a5f65c726ff46cffcdba
treed42d450ab06b3b852678e025aa39df03825b3f31
parenteb52beb17b7cfb4eddc405c1678368c7b1f7c091
[Tizen] Fix memory leak

Fix memory leak which returns new Vector and the returned Vector is used
as follows in NUI.

global::System.IntPtr cPtr = func(SwigCPtr);
new Vector2(cPtr, false);

Change-Id: Ibb04365c21a70da848348a6397a95f3c681c121f
dali-csharp-binder/src/dali-wrap.cpp
dali-csharp-binder/src/gestures-wrap.cpp