Fix memory leak 03/112003/1 tizen_3.0_tv accepted/tizen/3.0/common/20170201.164551 accepted/tizen/3.0/ivi/20170201.091706 accepted/tizen/3.0/mobile/20170201.091522 accepted/tizen/3.0/tv/20170201.091604 accepted/tizen/3.0/wearable/20170201.091627 submit/tizen_3.0/20170201.003016
authorseungha.son <seungha.son@samsung.com>
Wed, 25 Jan 2017 08:36:22 +0000 (17:36 +0900)
committerseungha.son <seungha.son@samsung.com>
Wed, 25 Jan 2017 08:38:00 +0000 (17:38 +0900)
commitb97fe420192994b46c5bf35bdae005ffc185de73
treeebd862a3420a790eede44a0db68ce2b0546aa9d0
parentc8c89fab81038d7bdf429a969105a4a78d12c538
Fix memory leak

 - If body is floating, memory corruption is occured when msg get body
   in g_dbus_connection_send_message_with_reply()
   So, this problem can be solved by increase reference count of
   body when body is floating.

Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I166e0a2fb9e334c40fa9cfc37a998e5887492c4a
lib/src/shortcut_internal.c