pulse: remove useless leaked property

This commit is contained in:
Wim Taymans 2020-07-21 17:39:08 +02:00
parent ca066fbf3b
commit cc0727e62f

View file

@ -600,7 +600,6 @@ static pa_stream* stream_new(pa_context *c, const char *name,
pa_stream *s; pa_stream *s;
char str[1024]; char str[1024];
unsigned int i; unsigned int i;
struct pw_properties *props;
spa_assert(c); spa_assert(c);
spa_assert(c->refcount >= 1); spa_assert(c->refcount >= 1);
@ -620,10 +619,6 @@ static pa_stream* stream_new(pa_context *c, const char *name,
else else
name = pa_proplist_gets(s->proplist, PA_PROP_MEDIA_NAME); name = pa_proplist_gets(s->proplist, PA_PROP_MEDIA_NAME);
props = pw_properties_new(PW_KEY_CLIENT_API, "pulseaudio",
NULL);
pw_properties_update_proplist(props, s->proplist);
s->refcount = 1; s->refcount = 1;
s->context = c; s->context = c;
spa_list_init(&s->free); spa_list_init(&s->free);