diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-20 17:30:01 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-20 17:30:01 +0200 |
commit | 737614054caadf8340b638b368d43f55b7bb3741 (patch) | |
tree | e822ceb16e52c6deb4e9613c9acc34fe3a1845ce /plugins/imuxsock | |
parent | 8088f9b01a8344c63e7874836721c79d94a01d25 (diff) | |
download | rsyslog-737614054caadf8340b638b368d43f55b7bb3741.tar.gz rsyslog-737614054caadf8340b638b368d43f55b7bb3741.tar.xz rsyslog-737614054caadf8340b638b368d43f55b7bb3741.zip |
minor cleanup
Diffstat (limited to 'plugins/imuxsock')
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 1d88a2b5..9a1e424c 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -324,11 +324,8 @@ CODESTARTafterRun if (funixn[i] && funix[i] != -1) unlink((char*) funixn[i]); /* free no longer needed string */ - if(pLogSockName != NULL) - free(pLogSockName); - if(pLogHostName != NULL) { - free(pLogHostName); - } + free(pLogSockName); + free(pLogHostName); discardFunixn(); nfunix = 1; |