mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pipewire: module-raop-sink: fix memory leak
As Coverity points out, previously, when the `else` branch was taken, then `tokens` was not freed.
This commit is contained in:
parent
84c01bb0bc
commit
bc67745c07
1 changed files with 1 additions and 1 deletions
|
|
@ -1143,7 +1143,7 @@ static int rtsp_do_auth(struct impl *impl, const struct spa_dict *headers)
|
|||
DEFAULT_USER_NAME, realm, nonce, resp);
|
||||
}
|
||||
else
|
||||
return -EINVAL;
|
||||
goto error;
|
||||
|
||||
pw_properties_setf(impl->headers, "Authorization", "%s %s",
|
||||
tokens[0], auth);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue