mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: bluez: backend-hsphfpd: actually free endpoint
Previously, `endpoint_free()` did not free the `struct hsphfpd_endpoint` object itself, only its contents. Fix that.
This commit is contained in:
parent
486d759fa9
commit
07c574160c
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ static void endpoint_free(struct hsphfpd_endpoint *endpoint)
|
|||
free(endpoint->path);
|
||||
free(endpoint->local_address);
|
||||
free(endpoint->remote_address);
|
||||
free(endpoint);
|
||||
}
|
||||
|
||||
static bool hsphfpd_cmp_transport_path(struct spa_bt_transport *t, const void *data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue