Fix queue extraction in NTP regression cleanup

This commit is contained in:
evgeny committed 2026-10-21 20:18:49 +02:00
1 parent 6c84e680af
commit a65b0c8786
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}