Fix memory leak 37/311937/1
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 31 May 2024 00:44:00 +0000 (09:44 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Fri, 31 May 2024 00:44:00 +0000 (09:44 +0900)
commit11106492ce32bac32d26e5b40e55c10fb239f3b7
treea8e2856234265818eda21451c0fea8171f2bd2c4
parentb5fab6de84fb6aa6776d62a9e0d91da660f326ec
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);

refer
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/311930/

Change-Id: I91b6956b32bf8eed5dc7d8f09aa24afbaa485c5c
dali-csharp-binder/common/dali-wrap.cpp
dali-csharp-binder/dali-core/gestures-wrap.cpp