mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse: remove useless leaked property
This commit is contained in:
parent
ca066fbf3b
commit
cc0727e62f
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue