free(threadpool->queue) in thrmgr_destroy, thanks to Edwin

git-svn: trunk@2392
remotes/push_mirror/metadata
Tomasz Kojm 19 years ago
parent 9e8b6be628
commit 85d7001f33
  1. 1
      clamav-devel/clamd/thrmgr.c

@ -119,6 +119,7 @@ void thrmgr_destroy(threadpool_t *threadpool)
pthread_mutex_destroy(&(threadpool->pool_mutex));
pthread_cond_destroy(&(threadpool->pool_cond));
pthread_attr_destroy(&(threadpool->pool_attr));
free(threadpool->queue);
free(threadpool);
return;
}

Loading…
Cancel
Save