[throttle] fix memory leak

personal/stbuehler/wip
Stefan Bühler 10 years ago
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…
Cancel
Save