Freed thread structs.

This commit is contained in:
vraatikka 2013-08-12 21:05:44 +03:00
parent c5fd94590c
commit 249413b2c6

View File

@ -470,6 +470,8 @@ ssize_t log_flush_timeout_ms = 0;
for (n = 0; n < n_threads - 1; n++)
thread_wait(threads[n]);
free(threads);
/**
* Wait the flush thread.
*/