diff --git a/src/main/throttle.c b/src/main/throttle.c index d3308ff..746caed 100644 --- a/src/main/throttle.c +++ b/src/main/throttle.c @@ -252,6 +252,7 @@ void li_throttle_pool_release(liThrottlePool *pool, liServer *srv) { g_slice_free1(sizeof(liThrottlePoolWorkerState) * srv->worker_count, pool->workers); pool->workers = NULL; } + g_slice_free(liThrottlePool, pool); } }