Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipcs: Add missing qb_list_del when freeing server #423

Merged
merged 2 commits into from
Oct 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/ipcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static void qb_ipcs_flowcontrol_set(struct qb_ipcs_connection *c,
static int32_t
new_event_notification(struct qb_ipcs_connection * c);

static QB_LIST_DECLARE(qb_ipc_services);

qb_ipcs_service_t *
qb_ipcs_create(const char *name,
Expand Down Expand Up @@ -72,8 +71,6 @@ qb_ipcs_create(const char *name,
s->serv_fns.connection_destroyed = handlers->connection_destroyed;

qb_list_init(&s->connections);
qb_list_init(&s->list);
qb_list_add(&s->list, &qb_ipc_services);

return s;
}
Expand Down