mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-21 13:40:42 +01:00
bugfix: prevent a segfault during imtcp's shutdown
If imtcp is loaded and no listeners are configured (which is uncommon), rsyslog crashes during shutdown. The cause is that startWorkerPool() is called unconditionally during modExit() even if there are no listerners. Correcting this triggers a memleak of the wrkrMut mutex which shouldn't have been destroyed in startWorkerPool() in the first place.
This commit is contained in:
parent
22ad2d2f0a
commit
d5dead4ea0
Loading…
x
Reference in New Issue
Block a user