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:
Barnabás Pőcze 2023-07-30 21:42:49 +02:00
parent 486d759fa9
commit 07c574160c

View file

@ -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)