diff --git a/spa/plugins/bluez5/backend-hsphfpd.c b/spa/plugins/bluez5/backend-hsphfpd.c index 19ae2e41e..cb5ac870a 100644 --- a/spa/plugins/bluez5/backend-hsphfpd.c +++ b/spa/plugins/bluez5/backend-hsphfpd.c @@ -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)