Merge pull request #30117 from santouits/mt-pools

Free server id pools directly on closing
This commit is contained in:
Rémi Verschelde 2019-06-27 15:15:15 +02:00 committed by GitHub
commit 538c8eec15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
} \
void m_type##_free_cached_ids() { \
while (m_type##_id_pool.size()) { \
free(m_type##_id_pool.front()->get()); \
server_name->free(m_type##_id_pool.front()->get()); \
m_type##_id_pool.pop_front(); \
} \
} \