git-svn: trunk@2392
Tomasz Kojm authored on 2006/10/16 06:30:14... | ... |
@@ -119,6 +119,7 @@ void thrmgr_destroy(threadpool_t *threadpool) |
119 | 119 |
pthread_mutex_destroy(&(threadpool->pool_mutex)); |
120 | 120 |
pthread_cond_destroy(&(threadpool->pool_cond)); |
121 | 121 |
pthread_attr_destroy(&(threadpool->pool_attr)); |
122 |
+ free(threadpool->queue); |
|
122 | 123 |
free(threadpool); |
123 | 124 |
return; |
124 | 125 |
} |