BT_INFO("operation: %s", operation);
if (g_strcmp0(operation, APP_CONTROL_OPERATION_SHARE) == 0) {
- char *mime = NULL;
-
launch_type = strdup("send");
app_control_get_mime(service, &mime);
}
g_free(mime);
+ mime = NULL;
} else if (g_strcmp0(operation, APP_CONTROL_OPERATION_SHARE_TEXT) == 0) {
BT_DBG("APP_CONTROL_OPERATION_SHARE_TEXT");
char **array_value = NULL;
int array_length;
int ret, i;
- char *mime = NULL;
launch_type = strdup("send");
}
g_free(mime);
+ mime = NULL;
} else if (g_strcmp0(operation, BT_APPCONTROL_PICK_OPERATION) == 0) {
BT_DBG("Pick Operation");
launch_type = strdup("pick");