summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-api-streams.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/alsa/alsa-api-streams.c')
-rw-r--r--plugins/alsa/alsa-api-streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-api-streams.c b/plugins/alsa/alsa-api-streams.c
index c8702ed..e11affe 100644
--- a/plugins/alsa/alsa-api-streams.c
+++ b/plugins/alsa/alsa-api-streams.c
@@ -401,7 +401,7 @@ STATIC AlsaStreamAudioT * AttachOneStream(SoftMixerT *mixer, const char *uid, co
if (stream->verb) asprintf((char**) &stream->verb, "%s:%s", prefix, stream->verb);
else asprintf((char**) &stream->verb, "%s:%s", prefix, stream->uid);
} else {
- if (!stream->verb) asprintf((char**) &stream->verb, stream->uid);
+ if (!stream->verb) stream->verb = strdup(stream->uid);
}
// implement stream PCM with corresponding thread and controls