Fix queue extraction in NTP regression cleanup
This commit is contained in:
1 parent
6c84e680af
commit
a65b0c8786
1 file changed
+1
-1
@@ -215,7 +215,7 @@ static void cleanup(struct fixture* f) {
|
||||
assert(!f->inst.new_conn_cbks && !f->inst.api_bindings.callbacks[ETCP_ID_NTP_TIME]);
|
||||
for (int i = 0; i < 3; i++) assert(!f->conns[i].cbks);
|
||||
struct ll_entry* e;
|
||||
while ((e = queue_get_data(f->inst.connections))) queue_entry_free(e);
|
||||
while ((e = queue_data_get(f->inst.connections))) queue_entry_free(e);
|
||||
queue_free(f->inst.connections);
|
||||
uasync_destroy(f->ua, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user