Skip to content

Commit a52d912

Browse files
authored
ipcs: Add missing qb_list_del when freeing server (#423)
* ipcs: Remove list not used Thanks to minhbq for pointing this out
1 parent 680db52 commit a52d912

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/ipcs.c

-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ static void qb_ipcs_flowcontrol_set(struct qb_ipcs_connection *c,
3232
static int32_t
3333
new_event_notification(struct qb_ipcs_connection * c);
3434

35-
static QB_LIST_DECLARE(qb_ipc_services);
3635

3736
qb_ipcs_service_t *
3837
qb_ipcs_create(const char *name,
@@ -72,8 +71,6 @@ qb_ipcs_create(const char *name,
7271
s->serv_fns.connection_destroyed = handlers->connection_destroyed;
7372

7473
qb_list_init(&s->connections);
75-
qb_list_init(&s->list);
76-
qb_list_add(&s->list, &qb_ipc_services);
7774

7875
return s;
7976
}

0 commit comments

Comments
 (0)