Browse Source

[throttle] fix memory leak

personal/stbuehler/wip
Stefan Bühler 9 years ago
parent
commit
8a65b5e7aa
  1. 1
      src/main/throttle.c

1
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);
}
}

Loading…
Cancel
Save