diff options
Diffstat (limited to 'src/pulsecore/core.c')
-rw-r--r-- | src/pulsecore/core.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c index d6af3ca9..710e00ad 100644 --- a/src/pulsecore/core.c +++ b/src/pulsecore/core.c @@ -74,8 +74,9 @@ pa_core* pa_core_new(pa_mainloop_api *m) { c->scache_auto_unload_event = NULL; c->subscription_defer_event = NULL; - c->subscription_event_queue = NULL; - c->subscriptions = NULL; + PA_LLIST_HEAD_INIT(pa_subscription, c->subscriptions); + PA_LLIST_HEAD_INIT(pa_subscription_event, c->subscription_event_queue); + c->subscription_event_last = NULL; c->memblock_stat = pa_memblock_stat_new(); |