Fix bug in noti_ex_item_get_extension_data 91/227091/1
authormk5004.lee <mk5004.lee@samsung.com>
Mon, 9 Mar 2020 12:20:10 +0000 (21:20 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Mon, 9 Mar 2020 12:20:10 +0000 (21:20 +0900)
Change-Id: I66ff6480ce265aea5fe9c54a264e027e6fadcee4
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification-ex/stub.cc

index 0698fa6..66b18be 100644 (file)
@@ -2534,7 +2534,7 @@ extern "C" EXPORT_API int noti_ex_item_get_extension_data(noti_ex_item_h handle,
   if (b.GetCount() == 0)
     *value = nullptr;
   else
-    *value = b.GetHandle();
+    *value = bundle_dup(b.GetHandle());
 
   return NOTI_EX_ERROR_NONE;
 }