diff --git a/src/libeis-client.c b/src/libeis-client.c index d088d7d..9a22f00 100644 --- a/src/libeis-client.c +++ b/src/libeis-client.c @@ -47,9 +47,13 @@ DEFINE_TRISTATE(started, finished, connected); DEFINE_UNREF_CLEANUP_FUNC(brei_result); +static void +client_drop_seats(struct eis_client *client); + static void eis_client_destroy(struct eis_client *client) { + client_drop_seats(client); eis_handshake_unref(client->setup); eis_connection_unref(client->connection); free(client->name);