diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 16:25:35 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-25 16:25:35 +0000 |
commit | 187ab7e123c97b3091c78f6fb86412a3cec94569 (patch) | |
tree | f8485f080dfd9a67cc42869d20005d798f64518d /omfwd.c | |
parent | cba4c88776a4d98d197c14ec9014f7abc973255e (diff) | |
download | rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.gz rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.tar.bz2 rsyslog-187ab7e123c97b3091c78f6fb86412a3cec94569.zip |
moved some references to module data from syslogd.c to modules
Diffstat (limited to 'omfwd.c')
-rw-r--r-- | omfwd.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -96,6 +96,12 @@ CODESTARTfreeInstance free(f->f_un.f_forw.port); break; } +# ifdef USE_PTHREADS + /* delete any mutex objects, if present */ + if(f->f_un.f_forw.protocol == FORW_TCP) { + pthread_mutex_destroy(&f->f_un.f_forw.mtxTCPSend); + } +# endif ENDfreeInstance |