summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 487fbb40..e50e4727 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -391,10 +391,6 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
bEscapeCCOnRcv = 1; /* default is to escape control characters */
bReduceRepeatMsgs = (logEveryMsg == 1) ? 0 : 1;
bDropMalPTRMsgs = 0;
- if(pModDir != NULL) {
- free(pModDir);
- pModDir = NULL;
- }
if(pszWorkDir != NULL) {
free(pszWorkDir);
pszWorkDir = NULL;