From 8a65b5e7aa5c49e5f3f8e7855e0e25737b252f86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sun, 26 May 2013 18:50:21 +0200 Subject: [PATCH] [throttle] fix memory leak --- src/main/throttle.c | 1 + 1 file changed, 1 insertion(+) 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); } }