client-node: remove the tag from the right pool

This commit is contained in:
Wim Taymans 2020-07-10 16:10:45 +02:00
parent 5cd495c93c
commit e58fcb95d0

View file

@ -1336,7 +1336,7 @@ static void node_free(void *data)
spa_hook_remove(&impl->node_listener); spa_hook_remove(&impl->node_listener);
while ((mm = pw_mempool_find_tag(impl->context->pool, tag, sizeof(uint32_t))) != NULL) while ((mm = pw_mempool_find_tag(node->client->pool, tag, sizeof(uint32_t))) != NULL)
pw_memmap_free(mm); pw_memmap_free(mm);
if (this->resource) if (this->resource)