[throttle] fix memory leak
This commit is contained in:
parent
0857befb7f
commit
8a65b5e7aa
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue