--- src/pulsecore/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c index cc8915c..f3bf588 100644 --- a/src/pulsecore/core.c +++ b/src/pulsecore/core.c @@ -170,6 +170,9 @@ static void core_free(pa_object *o) { /* Note: All modules and samples in the cache should be unloaded before * we get here */ + pa_assert(pa_idxset_isempty(c->nodes)); + pa_idxset_free(c->nodes, NULL); + pa_assert(pa_idxset_isempty(c->scache)); pa_idxset_free(c->scache, NULL); -- 1.8.3.1