mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Fix some possible leaks.
This commit is contained in:
parent
fa5b04f3e5
commit
6224068586
3 changed files with 11 additions and 1 deletions
|
|
@ -2256,6 +2256,9 @@ static int do_finish_upload_stream(struct client *client, uint32_t command, uint
|
|||
|
||||
error_errno:
|
||||
res = -errno;
|
||||
if (sample != NULL) {
|
||||
free(sample);
|
||||
}
|
||||
goto error;
|
||||
error_invalid:
|
||||
res = -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue