Name: pulseaudio-modules-tizen
Summary: Pulseaudio modules for Tizen
-Version: 5.0.99
+Version: 5.0.100
Release: 0
Group: Multimedia/Audio
License: LGPL-2.1+
}
sink = (pa_sink*)pa_namereg_get(u->core, SINK_NAME_COMBINED_EX, PA_NAMEREG_SINK);
PA_IDXSET_FOREACH(s, combine_sink_arg1->inputs, s_idx) {
- if (s == data->stream) {
+ if (sink && s == data->stream) {
pa_sink_input_move_to(s, sink, false);
pa_log_info(" -- *** sink-input(%p,%u) moves to sink(%p,%s)", s, ((pa_sink_input*)s)->index, sink, sink->name);
break;
m->restrictions.block_recording_media = true;
PA_IDXSET_FOREACH(s, m->core->source_outputs, idx) {
role = pa_proplist_gets(GET_STREAM_PROPLIST(s, STREAM_SOURCE_OUTPUT), PA_PROP_MEDIA_ROLE);
- if (pa_streq(role, "media")) {
+ if (pa_safe_streq(role, "media")) {
pa_log_info(" -- kill source-output(%p, %u)", s, ((pa_source_output*)s)->index);
pa_source_output_kill((pa_source_output*)s);
}
} else {
pa_log_warn("[%s] is not defined, skip it", key);
}
- free(key);
+ pa_xfree(key);
} else {
pa_log_error("failed to pa_xmalloc0()");
ret = -1;
} else {
pa_log_warn("[%s] is not defined, skip it", key);
}
- free(key);
+ pa_xfree(key);
} else {
pa_log_error("failed to pa_xmalloc0()");
ret = -1;