mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
trivial simplification
This commit is contained in:
parent
119698ae91
commit
577259bb15
1 changed files with 1 additions and 2 deletions
|
|
@ -1105,8 +1105,7 @@ static int do_read(connection *c) {
|
|||
pa_scache_add_item(c->protocol->core, c->scache.name, &c->scache.sample_spec, NULL, &c->scache.memchunk, c->client->proplist, &idx);
|
||||
|
||||
pa_memblock_unref(c->scache.memchunk.memblock);
|
||||
c->scache.memchunk.memblock = NULL;
|
||||
c->scache.memchunk.index = c->scache.memchunk.length = 0;
|
||||
pa_memchunk_reset(&c->scache.memchunk);
|
||||
|
||||
pa_xfree(c->scache.name);
|
||||
c->scache.name = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue