diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 17:32:43 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-26 17:32:43 +0000 |
commit | 57ebcb05f5510ba6ac41875e5363987766acd938 (patch) | |
tree | 062d0771af7c7e8080dee601ab7e3513e680a20e | |
parent | 99936729cdd81a628b61e62197069ab2e3ea7a58 (diff) | |
download | rsyslog-57ebcb05f5510ba6ac41875e5363987766acd938.tar.gz rsyslog-57ebcb05f5510ba6ac41875e5363987766acd938.tar.xz rsyslog-57ebcb05f5510ba6ac41875e5363987766acd938.zip |
removed socket leak in omfwd.c
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | omfwd.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ --------------------------------------------------------------------------- Version 2.0.0 (rgerhards), 2007-12-26 - increased portability for older platforms (AI_NUMERICSERV moved) +- removed socket leak in omfwd.c --------------------------------------------------------------------------- Version 1.21.1 (rgerhards), 2007-12-23 - small doc fix for $IncludeConfig @@ -181,6 +181,9 @@ CODESTARTfreeInstance gss_base_service_name = NULL; } # endif + /* final cleanup */ + if(pData->sock >= 0) + close(pData->sock); ENDfreeInstance |