Skip to content

Commit

Permalink
ipcs: Add missing qb_list_del when freeing server (#423)
Browse files Browse the repository at this point in the history
* ipcs: Remove list not used

Thanks to minhbq for pointing this out
  • Loading branch information
chrissie-c authored Oct 5, 2020
1 parent 680db52 commit a52d912
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit a52d912

Please sign in to comment.