mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
avb: free resources on error
This commit is contained in:
parent
0e847c97c8
commit
f9e7fd7c67
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ struct avb_maap *avb_maap_register(struct server *server)
|
|||
|
||||
if (pw_getrandom(maap->xsubi, sizeof(maap->xsubi), 0) != sizeof(maap->xsubi)) {
|
||||
res = -errno;
|
||||
goto error;
|
||||
goto error_free;
|
||||
}
|
||||
load_state(maap);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue