Skip to content

tests/test.c: fix crash in cleanup function

Christian Kellner requested to merge gicmo/bolt:test_fixes into master

The GQueue used in NotifySocket is statically allocated and thus must not be freed via g_queue_free_full. Instead we manually free each dynamically allocated element and then call clear the queue via g_queue_clear.

Merge request reports