summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2017-04-11 13:07:40 +0900
committerJiyong Min <jiyong.min@samsung.com>2017-04-11 13:09:14 +0900
commit741b5098e8847625828e4ebc1d03802f182ce849 (patch)
tree516fadfbbb315b23b4e65db340332b1936e5ed84
parent4d82acd6597238a8c9e5434f5d1bf80322bf698e (diff)
downloadmedia-controller-741b5098e8847625828e4ebc1d03802f182ce849.tar.gz
media-controller-741b5098e8847625828e4ebc1d03802f182ce849.tar.bz2
media-controller-741b5098e8847625828e4ebc1d03802f182ce849.zip
Change-Id: I9f9dc5d7d472decb122644708beb9e3c29c87597 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
-rwxr-xr-xsrc/media_controller_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media_controller_ipc.c b/src/media_controller_ipc.c
index bc621eb..356098e 100755
--- a/src/media_controller_ipc.c
+++ b/src/media_controller_ipc.c
@@ -46,7 +46,6 @@ static void __mc_ipc_signal_cb(GDBusConnection *connection,
GVariant *parameters,
gpointer user_data)
{
- char *key = __make_key_for_map(interface_name, signal_name);
GList *listener_list = (GList *)user_data;
mc_ipc_listener_s *listener = NULL;
unsigned int i = 0;
@@ -61,6 +60,7 @@ static void __mc_ipc_signal_cb(GDBusConnection *connection,
return;
}
+ char *key = __make_key_for_map(interface_name, signal_name);
unsigned int listener_cnt = g_list_length(listener_list);
for (i = 0; i < listener_cnt; i++) {
listener = (mc_ipc_listener_s *)g_list_nth_data(listener_list, i);