[PATCH 01/15] core: Free pa_core.nodes when freeing pa_core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux