diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-22 15:49:54 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-09-22 15:49:54 +0200 |
commit | 1b2270ad3a6a78b1d11a7f7639208a42aabce578 (patch) | |
tree | 21b6aace8d7c35cf2b9d90368dc58baf1c13c200 /plugins | |
parent | 4e86efaf0e20626d8f740fcff131bfd38453de4d (diff) | |
parent | 571c51fe3481192febdf40343a21a60c69498aab (diff) | |
download | rsyslog-1b2270ad3a6a78b1d11a7f7639208a42aabce578.tar.gz rsyslog-1b2270ad3a6a78b1d11a7f7639208a42aabce578.tar.xz rsyslog-1b2270ad3a6a78b1d11a7f7639208a42aabce578.zip |
Merge branch 'v3-stable' into beta
Conflicts:
ChangeLog
configure.ac
doc/manual.html
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imudp/imudp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index 6d3a075f..f8beb01f 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -245,10 +245,14 @@ CODESTARTafterRun net.clearAllowedSenders (net.pAllowedSenders_UDP); net.pAllowedSenders_UDP = NULL; } - if(udpLstnSocks != NULL) + if(udpLstnSocks != NULL) { net.closeUDPListenSockets(udpLstnSocks); - if(pRcvBuf != NULL) + udpLstnSocks = NULL; + } + if(pRcvBuf != NULL) { free(pRcvBuf); + pRcvBuf = NULL; + } ENDafterRun |