summaryrefslogtreecommitdiff
path: root/plugins/ommail/ommail.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2014-08-18 17:48:20 +0200
committerMichael Biebl <biebl@debian.org>2014-08-18 17:48:20 +0200
commit1dfcd909d90f6fad4a612b6fd998d7473a9da399 (patch)
treeb9fb75cfd347088f1850b48e298c5db564304ece /plugins/ommail/ommail.c
parentdaeb0d03d4a65fa118ad25b34958fb9cacbbd6f4 (diff)
downloadrsyslog-upstream/8.4.0.tar.gz
Imported Upstream version 8.4.0upstream/8.4.0
Diffstat (limited to 'plugins/ommail/ommail.c')
-rw-r--r--plugins/ommail/ommail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/ommail/ommail.c b/plugins/ommail/ommail.c
index 910b371..113385f 100644
--- a/plugins/ommail/ommail.c
+++ b/plugins/ommail/ommail.c
@@ -158,8 +158,6 @@ addRcpt(void __attribute__((unused)) *pVal, uchar *pNewVal)
finalize_it:
if(iRet != RS_RET_OK) {
- if(pNew != NULL)
- free(pNew);
free(pNewVal); /* in any case, this is no longer needed */
}