mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: remove useless allocation
This commit is contained in:
parent
29d6179328
commit
ecf10e0b1c
1 changed files with 0 additions and 6 deletions
|
|
@ -1782,12 +1782,6 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
|
|||
if (stream->channel == SPA_ID_INVALID)
|
||||
goto error_errno;
|
||||
|
||||
stream->buffer = calloc(1, stream->attr.maxlength);
|
||||
if (stream->buffer == NULL)
|
||||
goto error_errno;
|
||||
|
||||
spa_ringbuffer_init(&stream->ring);
|
||||
|
||||
stream->create_tag = tag;
|
||||
stream->ss = ss;
|
||||
stream->map = map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue