diff options
-rw-r--r-- | packaging/capi-media-controller.spec | 2 | ||||
-rw-r--r-- | svc/media_controller_svc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/capi-media-controller.spec b/packaging/capi-media-controller.spec index 179bc20..45fe4d3 100644 --- a/packaging/capi-media-controller.spec +++ b/packaging/capi-media-controller.spec @@ -1,6 +1,6 @@ Name: capi-media-controller Summary: A media controller library in Tizen Native API -Version: 0.2.28 +Version: 0.2.29 Release: 1 Group: Multimedia/API License: Apache-2.0 diff --git a/svc/media_controller_svc.c b/svc/media_controller_svc.c index d0ac6e4..945487f 100644 --- a/svc/media_controller_svc.c +++ b/svc/media_controller_svc.c @@ -157,7 +157,7 @@ static void __mc_remove_cmd_to_send(gpointer data, gpointer user_data) mc_retm_if_failed(_user_data->message->msg_size); mc_retm_if_failed(MC_STRING_VALID(_user_data->message->msg)); - while ((found_cmd = g_list_find_custom(_app_data->cmds_to_send, (gconstpointer)_user_data->message->msg, + if ((found_cmd = g_list_find_custom(_app_data->cmds_to_send, (gconstpointer)_user_data->message->msg, __mc_compare_cmd)) != NULL) { mc_info("remove cmd: %s", (char *)(found_cmd->data)); _app_data->cmds_to_send = g_list_remove_link(_app_data->cmds_to_send, found_cmd); |