From d202c5caa0b1360b5688ad0f5640f2227fafa845 Mon Sep 17 00:00:00 2001 From: "SukHyung, Kang" Date: Thu, 25 Apr 2019 08:31:32 +0900 Subject: [PATCH] Change return value of items to get chat message information Change-Id: I4391a9f846a10c9ec607aa80214b21651e6f4696 Signed-off-by: SukHyung, Kang --- notification-ex/stub.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notification-ex/stub.cc b/notification-ex/stub.cc index 579d421..f4ff5b8 100644 --- a/notification-ex/stub.cc +++ b/notification-ex/stub.cc @@ -847,7 +847,7 @@ extern "C" EXPORT_API int noti_ex_item_image_create(noti_ex_item_h *handle, return NOTI_EX_ERROR_OUT_OF_MEMORY; } - *handle = new Handle(p); + *handle = new Handle(shared_ptr(p)); return NOTI_EX_ERROR_NONE; } @@ -2424,7 +2424,7 @@ extern "C" EXPORT_API int noti_ex_item_text_create(noti_ex_item_h *handle, return NOTI_EX_ERROR_OUT_OF_MEMORY; } - *handle = new Handle(p); + *handle = new Handle(shared_ptr(p)); return NOTI_EX_ERROR_NONE; } @@ -2518,7 +2518,7 @@ extern "C" EXPORT_API int noti_ex_item_time_create(noti_ex_item_h *handle, return NOTI_EX_ERROR_OUT_OF_MEMORY; } - *handle = new Handle(p); + *handle = new Handle(shared_ptr(p)); return NOTI_EX_ERROR_NONE; } -- 2.7.4