diff --git a/src/stream.c b/src/stream.c index fb8c110..652ab0f 100644 --- a/src/stream.c +++ b/src/stream.c @@ -458,6 +458,7 @@ static void _stream_destroy_workers(struct device_t *dev, struct workers_pool_t free(pool->workers); } + pool->free_workers = 0; pool->workers = NULL; }